IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Save email address on DB2 Table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Tue Oct 26, 2010 2:12 pm
Reply with quote

Hi
When I try to save an email address
the @ symbol is not save correctly. the symbol saved is this


Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Tue Oct 26, 2010 2:34 pm
Reply with quote

look at the string in HEX,
if the hex value corresponds to the @ char, then check the 3270 emulator character mappings

or simpler...
open a member under ispf and check that all the chars You type are displayed properly !
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Tue Oct 26, 2010 2:56 pm
Reply with quote

HEx value is x'B5' . If I open a member in ispf i write @ and i see @.
when I insert this value i a Db2 table through QMF or Cobol program i write @ and then after save i see a bad symbol icon_sad.gif
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Tue Oct 26, 2010 3:19 pm
Reply with quote

I THINK that the proble is EBCDIC / CCSID encoding characters
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Tue Oct 26, 2010 3:59 pm
Reply with quote

you should view the db2 column in hex using file-aid or some other db2 tool
or
simply select the column with the hex function

to determine what value is actually stored.

and as was suggested, you need to verify your code page settings.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 5
No new posts Methodic way to address cryptic alloc... ABENDS & Debugging 2
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
Search our Forums:


Back to Top