View previous topic :: View next topic |
Author |
Message |
Rajkannan Beginner
Joined: 02 Jun 2004 Posts: 64 Topics: 31
|
Posted: Fri Jun 26, 2009 8:05 am Post subject: ASCII to EBCDIC |
|
|
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 |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Fri Jun 26, 2009 8:14 am Post subject: |
|
|
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 |
|
|
Rajkannan Beginner
Joined: 02 Jun 2004 Posts: 64 Topics: 31
|
Posted: Fri Jun 26, 2009 9:10 am Post subject: ASCII sorting order is different from EBCDIC. |
|
|
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 |
|
|
Frank Yaeger Sort Forum Moderator
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
|
Back to top |
|
|
|
|