Coding this in a CA Easytrieve program:
FILE filename VS
Results in the following error:
EZIOE002 Error opening file FILE:
File type incompatible with the dataset organization.
CA Easytrieve Report Generator, release 11.6
To define an ESDS file under r11.x:
Use FILE statement syntax of "FILE xxx VS(ES)" or specify "FILE xxx SEQUENTIAL".
The VS parameter was with older versions of Easytrieve, .and it was included in V6.4 for compatibility purposes.
When FILE filename VS is specified, that means FILE filename INDEXED, which is KSDS, in r11.x.
When FILE filename VS(ES) is specified, that means FILE filename SEQUENTIAL, which is ESDS, in r11.x.