Suppress all Output from a Job



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

Suppress all Output from a Job

Postby socker_dad » Mon Jun 28, 2021 9:35 pm

I have a request from a systems administrator to suppress all SYSOUT from a particular job. The Job card has MSGCLASS=A (working on getting a list of the various available classes and their meanings).

Throughout the job, there is SYSOUT=T and SYSOUT=(,). The SA tells me that SYSOUT=T sends the output to the output queues and (,) means that output should be suppressed. However, the suppression setting isn't suppressing and he wants me to figure out something else.

I briefly thought of using DD DUMMY throughout the job, but that would cause the output to be completely deleted. Another option is to create datasets for all the SYSOUT, but that seems excessive.

I'm not sure what to do with this. Any suggestions?
socker_dad
 
Posts: 19
Joined: Tue Sep 22, 2020 5:37 am
Has thanked: 2 times
Been thanked: 0 time

Re: Suppress all Output from a Job

Postby enrico-sorichetti » Mon Jun 28, 2021 9:54 pm

all depends on the JES2 setup
quite often the output class Z is a dummy class to let outputs evaporate

the jes2parms member would then contain something like
OUTCLASS(Z) OUTDISP(PURGE,HOLD)
PURGE in case of normal termination,
HOLD in case of abnormal termination
 


Your system administrator should have told you how to do it :evil:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Suppress all Output from a Job

Postby socker_dad » Tue Jun 29, 2021 1:31 am

Yes, but that would mean doing his job! So much easier to pass the buck!
socker_dad
 
Posts: 19
Joined: Tue Sep 22, 2020 5:37 am
Has thanked: 2 times
Been thanked: 0 time

Re: Suppress all Output from a Job

Postby willy jensen » Tue Jun 29, 2021 1:36 pm

In SDSF issue command $D OUTCLASS(*)
Search for an outclass with OUTPUT=DUMMY, if there aren't any then you are stuck :(
In the job statement change MSGCLASS= to the dummy class.
Everywhere else change SYSOUT=whetever to SYSOUT=*

Note to SYSOUT=(,), I am pretty sure it means 'use default', not 'suppress'
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post