How to code a FILE statement for a C-ISAM file under UNIX or z/Linux.
search cancel

How to code a FILE statement for a C-ISAM file under UNIX or z/Linux.

book

Article ID: 52246

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

For Easytrieve to recognize the file format of a C-ISAM INDEXED file, you must supply a file descriptor. The file descriptor provides the Z format that is required to determine which type of INDEXED file you are processing. 

 

Environment

Easytrieve Report Generator, non-mainframe environment

Resolution

Code the following where filename is the name of your C-ISAM file:

FILE filename SYSNAME 'filename[Z:CISAM]'

If you don't have SYSNAME, then you will need your environment variable set to

filename='xxx/xxx/filename[Z:CISAM]'