Open siegling opened 6 years ago
FILE STATUS
should be optional, bit it seems fail to match the period ending the SELECT
statement.
I have just run into the same issue.
Adding MOVE 7 TO KEYWORD-OFFSET
just before the END-PERFORM
in 2800-PROCESS-SELECT
seems to fix this.
(@FrankR85: this seems to be our problem with TODOLISTE.CBL
combined with the fact that the SELECT
has to start at column 8 while ours starts at 10)
To test a Cobol file, in which external files are accessed, a file status has to be specified for at least one of the in the file-control specified files. If no file status is specified, the precompiler fails with the following error:
003-E ORIGINAL SOURCE FILE SRCPRG STATUS 46 ON READ
Steps to reproduce:Use the following cbl, test and config:
EXAMPLE.CBL
EXAMPLET:
EXAMPLEC:
Add
FILE STATUS IS FS
to one of the SELECT-Statment (choose any) and the test runs through.