What’s new at MAINFRAMES 360
(Updates May '11)...
- We are a cosmopolitan community of 400 members, from around the globe.
- Working on writing and publishing articles on CICS.
- Special article on "How do I learn Mainframe Programming"

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.

Related Posts Plugin for WordPress, Blogger...

Note :

Protected by Copyscape Online Copyright Protection
© Copyright – Quasar Chunawalla, 2010.
Note : The copyrights of all the material, text and pictures posted in this website belong to the author. Any instance of lifting the material from this website, shall be considered as an act of plagiarism. For any clarifications, please drop me a line at
 
back to top