FUNCTION UNLOAD SELECT statement syntax
The FUNCTION UNLOAD SELECT statement must follow certain syntactic specifications.
In the JCL, the SELECT control statement is written on a separate line after the FUNCTION UNLOAD control statement.
JCL example 1
FUNCTION UNLOAD QUEUETYPE=(ALL)
SELECT NOCONVMSG
END
JCL example 2
FUNCTION UNLOAD AREA=(ALL),QUEUETYPE=(ALL)
SELECT NOCONVMSG,
NOSYSMSG
END
The syntax of the FUNCTION UNLOAD SELECT statement is: