IOEXIT
The IOEXIT parameter specifies the input and output I/O exit names. The IOEXIT parameter must be the first parameter following the function and it must be on the same line as the function.
The syntax of the IOEXIT parameter is:
(,output exit name)
input exit name
input exit name
Specifies the name of the exit for the input file. You can specify up to eight characters. If you do not specify an output exit name, you can specify the input exit name without the parentheses.
output exit name
Specifies the name of the exit for the output file. You can specify up to eight characters. If you do not specify an input exit name, you must preface the output exit name with a comma and surround the value with parentheses.
Example 1:
This example copies a file using the input exit, USXTYP1, and the output exit, USXTYP2. Note that IOEXIT exit program names are user-defined.
Example 2:
This example creates a new data set by copying the input dataset using exit USXTYP1, and creates an extract data set called EXTRACT. A maximum of 25 records are written to the output extract file.
Example 3:
This example copies the first 20 records to the output dataset using output exit USXTYP2.