Specify the CICS command that are used for reading a VSAM record that starts with prefix F.
Specify the CICS command that are used for reading a VSAM record that starts with prefix F.
- Following are the set of commands to perform the task.
- The keyword READ specifies that the data set is for reading purpose.
EXEC CICS READ
DATASET('name of the file')
INTO(data-area)
RIDFLD(data-area)
KEYLENGTH(1)
GENERIC
LENGTH(WK-LEN)
END-EXEC.