purging JES2 output whilst retaining required jobs



IBM OS/370, MVS, OS/390, Linux, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VM, z/VSE, z/OS, z/OS.e etc...

purging JES2 output whilst retaining required jobs

Postby alanplayford » Mon Dec 02, 2019 4:59 am

In common with many sites, I have automatic JES2 commands to keep the spool utilisation down and workable.
These include 2 specific commands for this:
$po jobq,/held,days>5
$po jobq,all,protected,days>14

However, I have a job which is required to be kept on spool for longer, due to some specific testing against its output.
It's characteristics are:
$HASP686 OUTPUT(jobname) OUTGRP=1.1.1,BURST=NO,FCB=****,
$HASP686 FLASH=****,FORMS=STD,HOLD=(NONE),
$HASP686 OUTDISP=WRITE,PRIORITY=96,
$HASP686 PRMODE=LINE,QUEUE=A,
$HASP686 RECORDS=(15182 OF 15182),
$HASP686 ROUTECDE=LOCAL,SECLABEL=,TPJOBID=,
$HASP686 TPJOBN=,TSOAVAIL=NO,UCS=****,
$HASP686 USERID=usern,WRITER=

Any suggestions as to:
1. Change the automatic commands to exclude certain jobs, along with SDSF line command to stop it from being deleted2.
Any other method you may use

I've tried the H commnad in SDSF which changes its status to HOLD on the ST panel, and removes it from the O and/or H panel displays already.

Many thanks in advance.
alanplayford
 
Posts: 6
Joined: Fri Jan 08, 2016 3:18 pm
Has thanked: 3 times
Been thanked: 0 time

Re: purging JES2 output whilst retaining required jobs

Postby steve-myers » Mon Dec 02, 2019 8:04 am

This "requirement" is why output managers exist. I can think of at least 3 that CA Technologies (or whatever they call themselves this week) markets (though I think they have more or less forgotten the simplest (and cheapest)) and I know there are more from other vendors that will extract the job from JES2, hold the output in its data area and allow JES2 to purge the output in a more timely manner. JES2 was never intended to hold output for an extended period.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: purging JES2 output whilst retaining required jobs

Postby alanplayford » Mon Dec 02, 2019 3:23 pm

Thanks Steve. Understood that spool output managers can do this, but we don't have one for our small shop. So, just wondered if anybody has found a timely way to achieve this?
alanplayford
 
Posts: 6
Joined: Fri Jan 08, 2016 3:18 pm
Has thanked: 3 times
Been thanked: 0 time

Re: purging JES2 output whilst retaining required jobs

Postby NicC » Mon Dec 02, 2019 3:34 pm

Not my area of expertise but...can you not print to dataset? I forget the SDSF command that does it in one but simple to allocate a dataset of the right characteristics and then copy.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: purging JES2 output whilst retaining required jobs

Postby alanplayford » Mon Dec 02, 2019 3:36 pm

Nic, Yes, we do that regularly, but this particular application requires it to be on spool still?
I have considered using OFFLOAD processing to save it, then recall it into the system.
Not ideal, but it might keep buying us time?!
alanplayford
 
Posts: 6
Joined: Fri Jan 08, 2016 3:18 pm
Has thanked: 3 times
Been thanked: 0 time

Re: purging JES2 output whilst retaining required jobs

Postby NicC » Mon Dec 02, 2019 5:18 pm

Supply the people concerned with a job to offload which would run after their testing is done and a job to reload when their testing begins.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

These users thanked the author NicC for the post:
alanplayford (Wed Dec 04, 2019 3:13 am)
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: purging JES2 output whilst retaining required jobs

Postby willy jensen » Mon Dec 02, 2019 9:59 pm

One solution is to route that job and other like it to a seperate destination. Remember that in JES2 a destination is just a name, you do not need a RMT or NJE node associated with it. Then change your PURGE commands to only hit dest LOCAL.
And you can route those jobs by an automatic command too.
Of course you still ned some housekeeping to handle those nonLOCAL destinations.

These users thanked the author willy jensen for the post:
alanplayford (Wed Dec 04, 2019 3:13 am)
willy jensen
 
Posts: 467
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

Re: purging JES2 output whilst retaining required jobs

Postby alanplayford » Wed Dec 04, 2019 3:15 am

Willy, excellent idea. I'd already thought of it, but am currently unsure how to change my two purging commands to only purge LOCAL dest jobs?
Remember my 2 purge commands right now are:
$po jobq,/held,days>5
$po jobq,all,protected,days>14
alanplayford
 
Posts: 6
Joined: Fri Jan 08, 2016 3:18 pm
Has thanked: 3 times
Been thanked: 0 time

Re: purging JES2 output whilst retaining required jobs

Postby alanplayford » Wed Dec 04, 2019 3:16 am

NicC wrote:Supply the people concerned with a job to offload which would run after their testing is done and a job to reload when their testing begins.


Nic,
I have already manually done this via the OFFLOAD commands.
But if there's a way to submit a batch job to do this, I'd love to hear how?
alanplayford
 
Posts: 6
Joined: Fri Jan 08, 2016 3:18 pm
Has thanked: 3 times
Been thanked: 0 time

Re: purging JES2 output whilst retaining required jobs

Postby willy jensen » Wed Dec 04, 2019 3:45 am

Small test, command '$POJ(*),JOBMASK=WJGENER,DEST=LOCAL' deletes the named job in LOCAL while leaving a job of the same name in dest T1. So the DEST=LOCAL should do the trick. Better test it though...

These users thanked the author willy jensen for the post:
alanplayford (Wed Dec 04, 2019 3:31 pm)
willy jensen
 
Posts: 467
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

Next

Return to Operating Systems

 


  • Related topics
    Replies
    Views
    Last post