notifying operator for exceeding no. of output lines limit?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

notifying operator for exceeding no. of output lines limit?

Postby ARIVU » Wed May 20, 2009 12:52 pm

Hi,
How to notify an operator for no. of lines of a job output exceeding a specified limit.
for eg,
operator should be notified if the job output exceeds 50000 lines.
Thanks.
ARIVU
 
Posts: 4
Joined: Wed May 20, 2009 9:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: notifying operator for exceeding no. of output lines limit?

Postby dick scherrer » Wed May 20, 2009 11:47 pm

Hello,

Usually, a job will abend if the line limit is exceeded. If this does not happen talk with your system support people to provide this.

To notify the operator, call them and ask them to cancel the job.

Many systems allow someone to cancel their own jobs.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: notifying operator for exceeding no. of output lines limit?

Postby Bill Dennis » Thu May 21, 2009 2:22 am

With /*JOBPARM JCL statement (JES2) you can set a LINES value to override the site limit but it probably just send a warning to the console and the operators would miss it.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: notifying operator for exceeding no. of output lines limit?

Postby Anuj Dhawan » Mon Jun 29, 2009 2:47 pm

For the sake of definition: The LINES parameter is an optional parameter on the JOB statement for use with ESA 4.2 and later releases. It indicates the maximum amount of output, in thousands of lines, to be printed for the job's sysout data sets. It can also be used to specify the action that the system is to take if the maximum is exceeded.

But if you say
Can we put in LINES=(999999,WARNING) and would the job still run fine if it exceeds 999,999,000 lines of ouput ?
Just don't do that unless you are serious about that your site support group should kill you and hid your body .... :D

Site limits are established after careful consideration of the ramifications and changing them may cause unexpected side effects. As for example, if you start writing millions of lines of output to the JES spool, sooner or later it fills up. When the JES spool fills up, JES stops submitting jobs and even worse, sometimes jobs stop running, until the spool free space hits a certain percentage. Spool space is also needed to sign onto TSO so nobody can get into TSO until spool space is freed up ... and so on..so forth... beware.
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: notifying operator for exceeding no. of output lines limit?

Postby WillHenry » Fri Sep 18, 2009 8:03 pm

There is a site-specific limit above which, messages will appear on the console.
If your operators are on the ball, they WILL call you, or cancel the job for you, if they can't contact you.
Guaranteed. I do it every day.
WillHenry
 
Posts: 1
Joined: Fri Sep 18, 2009 7:52 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post