So, you may wish to contact your z/OS Sysprog for assistance. They will probably be able to help.
So in SDSF you go to the ST display for the job and do a ? next to it. It will show you the Jes2 Dataset Numbers. You can then use that for the $TO commands as needed. But talking to your Sysprog would be a good thing. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Hilary Hurwitz > Sent: Thursday, December 17, 2015 6:36 AM > To: [email protected] > Subject: Re: Delete part of spool for active job > > We have SDSF > > I am not familiar with $TO > > (I am actually a DBA, not a SYSPROG) > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Lizette Koehler > Sent: Thursday, December 17, 2015 15:33 > To: [email protected] > Subject: Re: Delete part of spool for active job > > There are a couple of options, > > If the JCL has coded on the SYSOUT FREE=CLOSE,SPIN=UNALLOC then you can purge > just that portion of the job without impacting anything else. > > You can use SDSF (if you have that) and change the one DD statement that has the > huge spool output to a different class (There are JES2 $TO commands also) and then > route the output from the rest of the job to the destinations they need to go. Once > all the good parts have been handled, you can then purge the offending piece of > output > > You can use the JES2 XMIT/RECEIVE process to offload the whole job or any part to > a tape/dasd dataset You can use SDSF (if you have it) to print (XDC commands) to a > dataset to save the good parts and then purge the offending section. > > There may be some other options I am missing. IMO - the > FREE=CLOSE,SPIN=UNALLOC is a good standard for SYSOUT datasets. > > So it will depend on how much effort that is needed on doing this. To save all of the > job with the exception of this one SYSOUT will require a little effort. > > Do you use SDSF? Or have you researched the $TO commands? > > Lizette > > > > -----Original Message----- > > From: IBM Mainframe Discussion List [mailto:[email protected]] > > On Behalf Of Hilary Hurwitz > > Sent: Thursday, December 17, 2015 6:13 AM > > To: [email protected] > > Subject: Delete part of spool for active job > > > > If a job is running and putting out many lines of spool - maybe there > > was an > over > > active programmer that printed all details of every customer in a > > multimillion > line file > > - is there a way of deleting the lines that have been written to the spool ? > > > > Or do I have to purge the job ? > > > > Hilary Hurwitz > > NIOI > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
