Sunday, June 28, 2009

Purging multiple jobs from SDSF;;ST spool

Purging multiple job(log)s from SDSF;;ST spool

We purge Joblog from Spool which we think no more needed.
Giving 'P' and hitting enter key is time consuming as well as tiring/boaring.
Instead there is a group command to purge multiple joblogs from spool (sdsf;st).
Here is how you can do it.

type '//p' in first column infront of your jobname in spool.

.
//p
.
.
.
.
//


Here is a Screen-Shot

SDSF STATUS DISPLAY ALL CLASSES BLOCK COMMAND
COMMAND INPUT ===> SCROLL
PREFIX=* DEST=(ALL) OWNER=MISTRH3 SORT=Pos/A SYSNAME=*
NP JOBNAME JobID Owner Prty Queue C Pos SAff ASys S
MISTRH3 TSU21878 MISTRH3 15 EXECUTION D999 D999
TGLGBRF JOB06496 MISTRH3 1 PRINT A 11527
MISTRH3M JOB06508 MISTRH3 1 PRINT A 11533
MISTRH3N JOB21995 MISTRH3 1 PRINT A 20694
//P TGLGBRF JOB22215 MISTRH3 1 PRINT A 20815
TGLGBRF JOB22221 MISTRH3 1 PRINT A 20829
TGLGBRF JOB22222 MISTRH3 1 PRINT A 20830
// TGLGBRF JOB22263 MISTRH3 1 PRINT A 20855
MISTRH3S JOB22265 MISTRH3 1 PRINT A 20856
TGLGBRF JOB22283 MISTRH3 1 PRINT A 20870
********************************************************************************
Display Filter View Print Options Help
-------------------------------------------------------------------------------
SDSF STATUS DISPLAY ALL CLASSES BLOCK COMMAND INCOMPLETE
COMMAND INPUT ===> SCROLL ===> CSR
PREFIX=* DEST=(ALL) O +----------------------------------------+
NP JOBNAME JobID | Confirm Action | Status
MISTRH3 TSU21878 | |
TGLGBRF JOB06496 | 1 1. Process action character |
MISTRH3M JOB06508 | 2. Discard action character |
MISTRH3N JOB21995 | 3. Process action character and |
//P TGLGBRF JOB22215 | set confirmation off |
TGLGBRF JOB22221 | |
TGLGBRF JOB22222 | Line number: 5-8 |
// TGLGBRF JOB22263 | |
MISTRH3S JOB22265 | |
TGLGBRF JOB22283 | F1=Help F12=Cancel |
+----------------------------------------+

********************************************************************************

Intertest Batch PFKey for Next and Previous


In InterTest batch, there are no default PFKeys asssigned for next and previous unlike expeditor, but we can map our choice of PFkeys using keys command.

I chose pf10 for next and pf11 for previous as I was not using them for left and right.

Here is the screenshot

PF Key Definitions and Labels - Primary Keys
Command ===>
More: +
Number of PF Keys . . . 24 Terminal type . : 3278

PF1 . . . HELP
PF2 . . . help
PF3 . . . END
PF4 . . . RETURN
PF5 . . . RFIND
PF6 . . . RCHANGE
PF7 . . . UP
PF8 . . . down
PF9 . . . swap
PF10 . . next
PF11 . . previous
PF12 . . RETRIEVE