LINES Parameter Example


Scenario1 - Ignore LINES parameter.

Code -

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

Explaining Example -

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

Scenario2 - Using LINES parameter.

Code -

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

Explaining Example -

The maximum output printing line limit is set to 20. i.e., 20000 lines.

Scenario3 - LINES parameter with CANCEL.

Code -

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

Explaining Example -

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

Scenario4 - LINES parameter with DUMP.

Code -

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

Explaining Example -

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

Scenario5 - LINES parameter with WARNING.

Code -

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

Explaining Example -

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