Example of the TYPRUN parameter

//UPDATE JOB   ,HUBBARD
//STEP1  EXEC  PGM=LIBUTIL
          .
          .
          .
//LIST   JOB   ,HUBBARD,TYPRUN=HOLD
//STEPA  EXEC  PGM=LIBLIST
          .
          .
          .

Jobs UPDATE and LIST are submitted for execution in the same input stream. UPDATE executes a program that adds and deletes members of a library; LIST executes a program that lists the members of that library. For an up-to-date listing of the library, LIST must execute after UPDATE. To force this execution order, code TYPRUN=HOLD on JOB statement LIST.

If a MONITOR JOBNAMES command is executed from the input stream or by the operator, the system notifies the console operator when UPDATE completes. The operator can then release LIST, allowing the system to select LIST for execution.