it's been 4 days I'm trying to convert the easytrieve data types to COBOL data type. but still unsuccessfull......need your help to convert the easytrieve layout to cobol......I have try many datatype in cobol like S9(N) comp-3 , 9(n) comp.....but still unsuccessfull.....i attached the easytrieve macro file
Code: Select all
FILE FJP141
MACRO
*------------------------------------------------------------*
* CASH ACCOUNT UPLOAD MTD FILE *
*------------------------------------------------------------*
RP141-TXN 1 1002 A
RP141-KEY 1 10 A
RP141-STATION-ID RP141-KEY 4 A
RP141-STSN-INST RP141-STATION-ID 1 B 0
RP141-STSN-BRANCH RP141-STATION-ID +1 3 P
RP141-TXN-DATE RP141-KEY +4 4 U
RP141-RECNUM RP141-KEY +8 2 B 0
RP141-TOT-REC 11 2 B 0
RP141-ACC-REC 13 990 A
RP141-ACC-DTL RP141-ACC-REC 10 A OCCURS (99)
RP141-REV-CODE RP141-ACC-DTL 4 B 0
RP141-TXN-AMT RP141-ACC-DTL 4 B 0
RP141-TXN-CNT RP141-ACC-DTL 2 B 0
MEND