VIEW SYS1.PARMLIB(IEALPA00) - 01.00 Command ===> ****** ***************************** Top of Data * 000001 INCLUDE LIBRARY(SYS1.CPAC.LINKLIB) MODULES( 000002 IEFACTRT 000003 )
ACTIVE
/* SMF DATA SETS */
DSNAME(SYS1.MAN1)
NOPROMPT /* DO NOT PROMPT OPERATOR FOR OPTIONS
REC(PERM) /* TYPE 17 PERM RECORDS ONLY */
MAXDORM(3000) /* WRITE AN IDLE BUFFER AFTER 30 MIN *
STATUS(010000) /* WRITE SMF STATS AFTER 1 HOUR */
JWT(2400) /* 522 AFTER 24 HOURS */
SID(P390) /* SYSTEM ID IS P390 */
LISTDSN /* LIST DATA SET STATUS AT IPL */
/* ------------------------------------------------------------ */
SYS(TYPE(30),
INTERVAL(010000),DETAIL)
SUBSYS(JES2,
EXITS(IEFACTRT),
INTERVAL(010000))
It writes SMF30 records and invokes the IEFACTRT exit
for batch jobs.
To replace a dataset in the LNKLST, you can do the following:You will need to allocate the new dataset before you can do this.
- P LLA
- SETPROG LNKLST,DEFINE,NAME=newlnklst,COPYFROM=CURRENT
- SETPROG LNKLST,DELETE,NAME=newlnklst,DSNAME=old.dataset.name
- SETPROG ADD,NAME=newlnklst,DSNAME=new.dataset.name,AFTER=dsname
- SETPROG LNKLST,ACTIVATE,NAME=newlnklst
- SETPROG LNKLST,UPDATE,JOBS=*
- SETPROG LNKLST,DELETE,NAME=oldlnklst,DSNAME=old.dataset.name
- SETPROG ADD,NAME=newlnklst,DSNAME=new.dataset.name,AFTER=dsname
- SETPROG LNKLST,ACTIVATE,NAME=oldlnklst
- SETPROG LNKLST,UPDATE,JOBS=*
- S LLA,SUB=MSTR
The last 4 SETPROG's is only needed if you want to run on the 'old' linklist name, it is purely cosmetic.
The JOB STEP COND CODE is 0 because that is the completion code of the ISPSTART command, which completes successfully (barring an intolerable ISPF error) regardless of any subsidiary completion code. Set and VPUT ZISPFRC to exit ISPSTART with a non-zero code.Here's an example Rexx ISPF application that does this (from the TSO-REXX Frequently Asked Questions). Thanks to Neil Hancock for the URL
LEGAL DISCLAIMERAny product or service mentioned in this document does not constitute any kind of recommendation or endorsement by the author. Should you decide to make use of any such product or service mentioned in this document you do so at your own risk. This article, its associated web site, and its author are in no way affiliated with IBM, the IBM-MAIN list owner or list provider. All trademarks mentioned in this document are property of their respective owners. |