In case of controlled processing, the JOB statement should be defined as
-
JOB INPUT SQL
-
JOB INPUT NULL
-
JOB INPUT filename
-
None of the above
In controlled processing mode where the program controls all input processing through explicit statements, JOB INPUT NULL is used. This indicates no automatic input source - the program will control when and how records are processed through specific I/O statements rather than automatic input flow.
For controlled processing, the JOB statement is defined with JOB INPUT NULL because control is handled externally (by a calling program or job control mechanism) rather than by reading directly from a specified input file or SQL source. Specifying an actual filename or SQL source would conflict with the externally-controlled nature of this processing mode.