With R11.x, encountering this error message: EZIOE002 Error opening file xxx. File type incompatable with the dataset organization.
search cancel

With R11.x, encountering this error message: EZIOE002 Error opening file xxx. File type incompatable with the dataset organization.

book

Article ID: 55283

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

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.

 

Environment

CA Easytrieve Report Generator, release 11.6

Resolution

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.