Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Save email address on DB2 Table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
imagines

New User


Joined: 10 Sep 2007
Posts: 7
Location: Italy

PostPosted: Tue Oct 26, 2010 2:12 pm    Post subject: Save email address on DB2 Table
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Tue Oct 26, 2010 2:34 pm    Post subject: Reply to: Save email address on DB2 Table
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: 7
Location: Italy

PostPosted: Tue Oct 26, 2010 2:56 pm    Post subject:
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: 7
Location: Italy

PostPosted: Tue Oct 26, 2010 3:19 pm    Post subject:
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: 6966
Location: porcelain throne

PostPosted: Tue Oct 26, 2010 3:59 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts save SAY var loop. italo_pm CLIST & REXX 3 Sun Sep 04, 2016 3:06 am
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us