Previous Topic: VSAM FilesNext Topic: FILE Screen Layout for VSAM Files


Identify the Record

When you access a VSAM file for the first time, the record identification field is set as follows:

KSDS and ESDS	nulls	(X`00')
RRDSone (X`01')

Note: Data entered in the RCID field overrides these values.

Occasionally, the last record identification for a file is needed as the first record identification for another file. To prevent the RCID from being reset to nulls or to one, enter LAST in the SUBFUNC field when you specify the new filename in the FILEID field. The LAST subfunction works only when a file is requested for the first time.