How to code a FILE statement for a CISAM file under UNIX or z/Linux.

Document ID : KB000052246
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

For CA Easytrieve to recognize the file format of a CISAM 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. For more information, see the File Description String (Non Mainframe Only) section in the User Guide on pages 132 through 134.

Solution:

Code the following where filename is the name of your CISAM 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]'