I am getting below error while running my code:
A file attribute mismatch was detected. File PROCESS-REPORT in program UINSWOC had a record length of 140
and the file specified in the ASSIGN clause had a record length of 139.
There was an unsuccessful OPEN or CLOSE of file PROCRPT in program UINSWOC.
File Status = 39.
Now issue is when I run the Program with side load it runs absolutely fine... but when I run it through Endevor compiled code I get above error.
Below is my FD section.
FD PROCESS-REPORT
RECORDING MODE IS F
LABEL RECORDS ARE STANDARD
BLOCK CONTAINS 0 RECORDS
RECORD CONTAINS 139 CHARACTERS
DATA RECORD IS REPORT-REC.
01 REPORT-REC PIC X(139).
Please let me know where is the issue.