On 2020-09-17 12:52 PM, Rahim Azizarab via groups.io wrote:
Re-ipl your system; and start with a could ipl? r 0,clpa,cmd=co.
Er, I don't think the CLPA has much to do with it...
Yes, there are numerous types of "cold" starts - MVS, JES2, CICS, etc. but the one relevant to the spool is a JES2 cold start.
CLPA - clear link pack area - that is, rebuild the PLPA - is what is referred to as a "cold start IPL".
CVIO - clear VIO - is referred to as a "quick start IPL".
Neither CLLPA nor CVIO gives what is known as a "warm start IPL".
The info below is from memory, so check it out yourself, but...
A JES2 cold start will wipe everything from the spool.
S JES2,PARM=COLD is one way to do that.
A cold start option is to format the spool.
S JES2,PARM='COLD,FORMAT' might cause that to happen.
The usual start is a warm start caused by something like
S JES2,PARM='WARM,NOREQ'
If JES2 crashes - "by itself" or from a $PJES2,ABEND - such that other jobs are still running (until hitting a wait waiting for JES2 services like allocating more spool space) - and JES2 is restarted, this is known as a hot start.
Various parameter changes are ignored on a hot start.
Changing some parameters such as MAXJOBS and NUMJOES will stop a JES2 warm start because they require a cold start to be changed - because they affect the structure of the data in the JES2 checkpoint data set.
_____________________________________
How to purge jobs from TSO:
Method 1
Register QUEUE as an APF authorized TSO command (or give it an alias that already is and invoke it using that name).
Use a TSO user ID that can issue the OPERATOR (OPER for short) TSO command.
Issue QUEUE STATUS * and put P beside the job(s) you want to purge and press <enter>.
If you only have a 20th century version of QUEUE then issue CAN jobid P for each job.
Method 2
Install a version of IKJEFF53 which allows user IDs to use the CANCEL and OUPUT TSO commands for any job name.
My preferred logic is to restrict this ability to users with the OPER privilege - but it's your system.
Go into RFE option 3.8 and issue ST * and put P beside the job(s) you want to purge and press <enter>.
With the IBM-supplied IKJEFF53 you will only be able to process jobs with names beginning with your TSO user ID.
Member IKJEFF53 of CBT file 134 contains a suitable version.
Cheers,
Greg