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 

ASCII to EBCDIC

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


Joined: 02 Jun 2004
Posts: 64
Topics: 31

PostPosted: Fri Jun 26, 2009 8:05 am    Post subject: ASCII to EBCDIC Reply with quote

Hi all,

I have looking for help on the below.

This is a migration project and I have source code available on a ASCII system and I need to move the source to the Mainframe along with the data.

The source code in ASCII environment is written in cobol and I need to move to Mainframe cobol while doing that consider I have moved the data from ASCII to EBCDIC and also moved the data from ASCII to EBCDIC.

Now in the target environment ( Mainframe) my source code alpahnumeric keys are behaving little different in scource ASCII environment and Mainframe Environment.

Does the ASCII to EBCDIC conversion causes Alphanumeric Key to behave differntly????
Back to top
View user's profile Send private message Send e-mail
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Fri Jun 26, 2009 8:14 am    Post subject: Reply with quote

Please be more specific. What do you mean by behaving differently? Can you give us an example? ASCII environment (PC) is quite different from the EBCDIC environment (3270 Emulation).
Back to top
View user's profile Send private message Visit poster's website
Rajkannan
Beginner


Joined: 02 Jun 2004
Posts: 64
Topics: 31

PostPosted: Fri Jun 26, 2009 9:10 am    Post subject: ASCII sorting order is different from EBCDIC. Reply with quote

Code:

ASCII EBCDIC      
1MS   AG7      
1RO   AKR   ASCII sorting order is different from EBCDIC.
A6A   A6A      
A6S   A6S   <---   For ex. Read all records >=  A6S
A78   A7K      AG7 , AKR will be missed out in EBCDIC
A7K   A78      1MS, 1RO should not come, but they will come in EBCDIC
A84   A84      
AG7   BC5      
AKR   BWC      
B8X   B8X      
B94   B9R      
B9R   B94      
BC5   COB      
BWC   CRM      
C3C   CSC      
COB   CWG
CRM   CWO
CSC   C3C
Back to top
View user's profile Send private message Send e-mail
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Fri Jun 26, 2009 10:26 am    Post subject: Reply with quote

The collating sequence for EBCDIC is different than the collating sequence for ASCII.

For some more information, see:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA30/D.0?DT=20080528171007

With DFSORT, you can use AC to sort using the ASCII collating sequence or BI/CH to sort usng the EBCDIC collating sequence.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities 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