TypeCobol
TypeCobol copied to clipboard
Capture file name or table in SORT statement
In current code the StorageArea
associated with the file name or table name used as a SORT target is not captured correctly.
Change code so as to add the storage area in read dictionary and check how the area is then used in the CrossChecker.
SORT statement operates on tables so the subscript checking is different than the default one:
- in case of a file SORT, no subscript should appear
- in case of a table SORT, number of subscripts should leave at least one dimension to sort onto
- check Cobol specs on that
#2592 added the storage area capture but subscript checking is still missing.