Please find my code below.
FILE SECTION.
FD DATA-FILE
RECORDING MODE IS V
RECORD IS VARYING FROM 1 TO 32696
DEPENDING ON WS-LENGTH.
01 INPUT-REC PIC X(32696).
FD OUTPUT-FILE
RECORDING MODE IS V
RECORD IS VARYING FROM 1 TO 32696.
DEPENDING ON WS-LENGTH-OUT.
01 OUTPUT-REC PIC X(32696).
FD DATA-FILE
RECORDING MODE IS V
RECORD IS VARYING FROM 1 TO 32696
DEPENDING ON WS-LENGTH.
01 INPUT-REC PIC X(32696).
FD OUTPUT-FILE
RECORDING MODE IS V
RECORD IS VARYING FROM 1 TO 32696.
DEPENDING ON WS-LENGTH-OUT.
01 OUTPUT-REC PIC X(32696).
I am getting return code "12" while compiling due to the following error.
IGYDS1089-S "DEPENDING" was invalid. Scanning was resumed at the next area "A" item, level-number, or the start of the next clause.
Can anyone help me solve the problem.