PAGES Parameter Example


Scenario1 - Ignore PAGES parameter.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP1 JOB (MTH007),'PAWAN Y',NOTIFY=&SYSUID 

Explaining Example -

The installation default page value is in effect for the output printing.

Scenario2 - Using PAGES parameter.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP2 JOB (MTH007),'PAWAN Y',PAGES=20

Explaining Example -

The maximum output printing page limit is set to 20. i.e., 20000 pages.

Scenario3 - PAGES parameter with CANCEL.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP3 JOB (MTH007),'PAWAN Y',PAGES=(20,CANCEL)

Explaining Example -

The maximum output printing page limit is set to 20. i.e., 20000 pages. If the output printing pages exceed 20000, the job is canceled without DUMP.

Scenario4 - PAGES parameter with DUMP.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP4 JOB (MTH007),'PAWAN Y',PAGES=(25,DUMP)

Explaining Example -

The maximum output printing page limit is set to 25. i.e., 25000 pages. If the output printing pages exceed 25000, the job is canceled with DUMP.

Scenario5 - PAGES parameter with WARNING.

Code -

----+----1----+----2----+----3----+----4----+----5----+
//MTHEXMP5 JOB (MTH007),'PAWAN Y',PAGES=(14,WARNING)

Explaining Example -

The maximum output printing page limit is set to 14, i.e., 14000 pages. If the output printing pages exceed 14000, the job continues execution and notifies the operater with a warning message.