z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Converting from EBCDIC to ASCII

z/OS DFSMS Using Data Sets
SC23-6855-00

The next line shows that the first four EBCDIC values (00, 01, 02, 03) are not changed during conversion to ASCII.

          0 1 2 3 4 5 6 7  8 9 A B C D E F
  00-0F  000102031A091A7F 1A1A1A0B0C0D0E0F
  10-1F  101112131A1A081A 18191A1A1C1D1E1F
  20-2F  1A1A1A1A1A0A171B 1A1A1A1A1A050607
  30-3F  1A1A161A1A1A1A04 1A1A1A1A14151A1A
  40-4F  201A1A1A1A1A1A1A 1A1A5B2E3C282B21
  50-5F  261A1A1A1A1A1A1A 1A1A5D242A293B5E
  60-6F  2D2F1A1A1A1A1A1A 1A1A7C2C255F3E3F
  70-7F  1A1A1A1A1A1A1A1A 1A603A2340273D22
  80-8F  1A61626364656667 68691A1A1A1A1A1A
  90-9F  1A6A6B6C6D6E6F70 71721A1A1A1A1A1A
  A0-AF  1A7E737475767778 797A1A1A1A1A1A1A
  B0-BF  1A1A1A1A1A1A1A1A 1A1A1A1A1A1A1A1A
  C0-CF  7B41424344454647 48491A1A1A1A1A1A
  D0-DF  7D4A4B4C4D4E4F50 51521A1A1A1A1A1A
  E0-EF  5C1A535455565758 595A1A1A1A1A1A1A
  F0-FF  3031323334353637 38391A1A1A1A1A1A

For example, EBCDIC "A" is X'C1' and is converted to X'41'.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014