MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

To insert ASCII characters into DB2 ZOS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Jyotsna_mallipeddi
Beginner


Joined: 04 Oct 2006
Posts: 1
Topics: 1
Location: Phoenix

PostPosted: Thu Mar 08, 2007 1:56 am    Post subject: To insert ASCII characters into DB2 ZOS Reply with quote

Hi

I am trying to insert special characters like & # ; which are part of my text. Basically trying to insert a French text into a VARCHAR field. Below is the query which I am trying thru a JCL using IKJEFT01 PGM


INSERT INTO P65.MESSAGE_TEMPLATE
VALUES(998,'124','CA','FR','A','Des amaméliorations');

But the above sql is giving an error saying illegal symbol & found in the text.

Please suggest is there a way for me to insert such data in mainframe DB2 database.

Thanks in advance

Jyotsna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Mar 08, 2007 9:21 am    Post subject: Reply with quote

Jyotsna,

You shouldn't have any problem inserting the values into a VARCHAR field unless you have fieldproc or editproc on the column. try inserting the same values using spufi.

Also I noticed that there is no & in your insert statement shown above. So you did not show us the entire sql or the message is wrong.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Thu Mar 08, 2007 5:40 pm    Post subject: Reply with quote

How can you input '
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group