SCAN keyword
The SCAN keyword lets you verify the syntax and function of the control statements and keywords.
It also validates the data set name that is generated by the Data Set Name user exit routine and displays the name in the processing log so that you can test changes to the exit routine without building the output data set. You can also use the SCAN keyword to create summary reports and pull list reports of the input files.
SCAN(Y) never performs a recovery. Input files and database data sets are not opened or updated. However, if SCAN(Y) and AUTH(Y) are specified, allocation and DBRC authorization are performed on the database data set. Refer Using-the-Recovery-utility-with-DBRC-and-RSR for more information about the AUTH keyword.
If the Recovery utility discovers an error, it generates a return code greater than zero and writes a message to the processing log.
Uses | Optional on the GLBL control statement. |
---|---|
Related keywords | None |
Syntax | SCAN(value) |
Values | Specify one of the following values:
|
Default | SCAN(N) |
Related topic