NCL includes an &FILE verb that provides the high-level interface to its file processing facilities. The verb has seven major operands:
Opens a file and identifies its processing mode
Sets the default file ID, sets the full or partial key, sets the processing mode for subsequent processing
Adds a record
Retrieves a record
Adds or updates a record
Deletes a current record
Releases file processing connections
The following system variables are provided to help test the success of functions:
the completion code for the last function
the number of records processed by the last generic delete (&FILE DEL) operation
the VSAM RPL feedback code from the last function
the key of the last record referenced
Note: For more information about the &FILE verb and system variables, see the Network Control Language Reference Guide. For more information about the UDBCTL command, which is used to control the availability of UDBs for processing, see the online help.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |