I am trying to convert an EBCDIC file to ASCII. The last field has re-defines in it and am having difficulty in writing my lay file.
Any help is greatly appreciated.
My lay file and my copy books looks like this..
----------------------------
Lay File
-----------------------------
t 1,0xFFFFFF,0xF2F3F2 // EBCDIC for 232 event data.
l=575 // Record length
e 1,125
pd 126,136 u v2
pd 137,143=4 // EL01-EVENT-DATA
e 144,575
--------------------------------
--------------------------------
Copy Book
--------------------------------
15 REDEFINES EVENT-DATA.
20 AMT PIC S9(11)V99 USAGE COMP-3.
20 DATE PIC S9(07) USAGE COMP-3.
20 FILLER PIC X(439).
-------------------------------------
What am I doing wrong here?
Thanks,
-Pavan
|
|