Mainframes 360
The one stop destination for System Z professionals

Wednesday, April 1, 2009

LINES parameter - Indicating maximum amount of output to be printed to SYSOUT


Question

//HERC04A  JOB  A123,QUASAR,NOTIFY=&SYSUID

Suppose you have the above job-card, that has several job-steps with a large output. You would like to issue a message to the operator, when the job output exceeds 500,000 lines. Which parameter should you add to the job-card to achieve this?

a) NOTIFY=(500,LINES)
b) MESSAGE=(LINELIMIT,500K)
c) WARNING=(500000,LINECOUNT)
d) SIGNAL=(LINES,500K)
e) LINES=(500,WARNING)
A. When we want to indicate the maximum amount of output to be printed to SYSOUT dataset, we can use LINES parameter on the JOB card. The syntax of the LINES parameter is :

LINES=nnnn or LINES=(nnn,action-to-be-taken)

The maximum amount of output can be specified in thousands of lines. So, if you want to indicate that maximum amount of output from the Job is 500k lines, nnn should be 500. You can also specify, what action must be taken – whether you want to continue the job, cancel the Job(CANCEL), DUMP, or notify the operator(WARNING).

Correct answer – LINES(500,WARNING)

On the same lines, you can also indicate the maximum amount of output in terms of BYTES,CARDS or PAGES.

To many people who are thrown to work at a mainframe computer on their first job, they feel lost. Mainframe people seem to speak a completely different language and that doesn't make life easy. What's more, the books and manuals are incredibly hard to comprehend.

"What on earth is a Mainframe?" is an absolute beginner's guide to mainframe computers. We'll introduce you to the hardware and peripherals. We'll talk about the operating system, the software installed on a mainframe. We'll also talk about the different people who work on a mainframe. In a nutshell, we'll de-mystify the mainframe.

Readers based in India, can buy the e-book for Rs. 50 only or the print book. International readers based in the US and other countries can click here to purchase the e-book.