Planet MVS Flower Box |
******************************************************* * STEP END STATISTICS: STEP JS01 RC=0015 * * I/O: SYSUT1 1283 SYSUT2 1283 ******************************************************* IEF375I JOB/IBMUSERT/START 1999182.1022 IEF376I JOB/IBMUSERT/STOP 1999182.1027 CPU 0MIN 48. |
SDSF JOB DATA SET DISPLAY - JOB IBMUSERG (JOB00050) COMMAND INPUT ===> PREFIX=* DEST=(ALL) OWNER=* NP DDNAME STEPNAME PROCSTEP DSID OWNER C DEST JESMSGLG JES2 2 IBMUSER X LOCAL JESJCL JES2 3 IBMUSER X LOCAL JESYSMSG JES2 4 IBMUSER X LOCAL HCDMLOG IOCP0 GO 102 IBMUSER X LOCAL |
IEF373I STEP/stepname/START ... IEF374I STEP/stepname/STOP ... ... IEF375I JOB/jobname /START ... IEF376I JOB/jobname /STOP ...
PUNCH ' ENTRY XYZACTRT' PUNCH ' INCLUDE AOSB3(IEFTB724) ' PUNCH ' NAME XYZACTRT(R)' END ,And then have a DD card in your link step: //AOSB3 DD DISP=SHR,DSN=SYS1.AOSB3
See this example of testing Rob Scott's IEFACTRT routine.setprog exit,add,exitname=sys.iefactrt,modname=ipoactrt,dsname= ibmuser.dave.load,jobname=ibmuser*
Where you issued the command for SYS.IEFACTRT, you may need to also do SYSJES2.IEFACTRT, SYSTSU.IEFACTRT and/or SYSSTC.IEFACTRT (if the IEFACTRT exit was originally defined that way via the SETPROG or PROGxx member).SETPROG EXIT,DELETE,EXITNAME=SYS.IEFACTRT,MODNAME=XYZACTRT SETPROG EXIT,ADD,EXITNAME=SYS.IEFACTRT,MODNAME=XYZACTRT,DSNAME=SYS2.XYZ.LINKLIB
You might recall that Omegamon use to have a SMF exit replace function. Instead of taking some time to use the IBM API to do this easier than the IBM SETPROG commands, they just yanked that function out of Omegamon. |
Here is sample output that my SMF XYZACTRT exit creates at job termination time:
XYZ120I ------------------------------------------------------------------------ S t e p E n d S t a t i s t i c s Step Name: SMPE Cond Code: 0004 Start: 01-Jul-1999 10:22:00 AM Step Num: 1 PGM Name: GIMSMP End: 01-Jul-1999 10:27:37 AM CPU (TCB): 00:00:48.44 Storage below 16M: 4,032k CPU (SRB): 00:00:03.92 Storage above 16M: 32,444k Trans Act: 00:05:34.73 Service Units: 1,884,723 Tape Mnts: 0 Total EXCPs: 29,404 Unit-- DDName-- EXCP Count-- Blksize Unit-- DDName-- EXCP Count-- Blksize 0EC3 D SYSUT1 60 3,200 0E29 D SYSUT2 4,344 0 0E29 D SMPWRK1 17 23,440 0EC3 D SMPWRK3 1,677 3,200 0EC3 D SMPWRK6 12 23,440 0C10 D SMPSCDS 1 3,120 0C15 D MIGLIB 1,972 32,760 0C15 D LINKLIB 5,424 32,760 0C15 D LPALIB 1,784 32,760 0C15 D CSSLIB 615 32,760 0C15 D MACLIB 2,424 6,160 0C15 D PARMLIB 77 6,160 0C15 D PROCLIB 76 6,160 0C15 D SAMPLIB 1,353 3,120 0C10 D SMPCSI 504 0 0C10 D MVST100 6,645 0 0CBC D SMPPTS 476 8,800 Total DASD EXCPs: 27,461 Total Tape EXCPs: 0 ---------------Paging--------------- ---------------Paging--------------- Common (LPA+CSA): 7 Hiperspace: 0 XYZ121I ------------------------------------------------------------------------ IEF373I STEP/SMPE /START 1999182.1022 IEF374I STEP/SMPE /STOP 1999182.1027 CPU 0MIN 48.44SEC SRB 0MIN 03.92S
XYZ120I ------------------------------------------------------------------------ J o b E n d S t a t i s t i c s Job Name: IBMUSERT System ID: XYZ1 Submit: 01-Jul-1999 10:21:05 AM Job JESID: JOB10960 MVS level: SP6.0.6 Start: 01-Jul-1999 10:22:00 AM Job Class: Q End: 01-Jul-1999 10:27:37 AM CPU (TCB): 00:00:48.44 Storage below 16M: 4,032k CPU (SRB): 00:00:03.92 Storage above 16M: 32,444k Trans Act: 00:05:34.73 Service Units: 1,884,723 Tape Mnts: 0 Total EXCPs: 29,404 ---------------Paging--------------- ---------------Paging--------------- VIO In: 0 VIO Out: 0 Pages In: 0 Pages Out: 0 Common (LPA+CSA): 7 Hiperspace: 0 VIO Reclaims: 0 Pages Stolen: 0 ACF2 User: IBMUSER Programmer: ALCOCK, DAVID Acct Info: D,D,D,SYS XYZ122I ------------------------------------------------------------------------ IEF375I JOB/IBMUSERT/START 1999182.1022 IEF376I JOB/IBMUSERT/STOP 1999182.1027 CPU 0MIN 48.44SEC SRB 0MIN 03.92S
J E S 2 J O B L O G -- S Y S T E M P 3 9 0 -- N O D E N 1 ... IEF403I IBMUSERG - STARTED - TIME=13.13.13 -Jobname Stepname Procstep RC EXCP Conn TCB SRB Clock Serv PG Page Swap VIO Swaps -IBMUSERG DOIT STEP1 00 3036 0 .04 .01 .3 39763 1 0 0 0 0 IEF404I IBMUSERG - ENDED - TIME=13.13.32 -IBMUSERG Ended. Name-David Alcock Total TCB CPU time= .04 Total Elasped time= .3
I don't add any more installation code to the one from IBM so I can upgrade to newer versions easier. I run multiple 'ACTRT routines via 'SYS1.PARMLIB(PROGxx)':
J E S 2 J O B L O G -- S Y S T E M P 3 9 0 -- N O D E N 1 ... IEF403I IBMUSERG - STARTED - TIME=13.13.13 XYZ101I Jobname Stepname Procstep RC EXCP Conn TCB SRB Clock Serv PG Page Swap VIO Swaps XYZ102I IBMUSERG DOIT STEP1 00 3036 0 .04 .01 .3 39763 1 0 0 0 0 IEF404I IBMUSERG - ENDED - TIME=13.13.32 XYZ103I IBMUSERG Ended. Name-David Alcock Total TCB CPU time= .04 Total Elasped time= .3Now they also line up better with the IEF403I/IEF404I messages.
EXIT ADD EXITNAME(SYS.IEFACTRT) MODNAME(IEEACTRT)IBM's sample IEFACTRT EXIT ADD EXITNAME(SYSJES2.IEFACTRT) MODNAME(IEEACTRT)IBM's sample IEFACTRT EXIT ADD EXITNAME(SYS.IEFACTRT) MODNAME(XYZACTRT)My IEFACTRT routine
(creates flower boxes) EXIT ADD EXITNAME(SYSJES2.IEFACTRT) MODNAME(XYZACTRT)My IEFACTRT routine
(creates flower boxes)