//JOBCARD JOB WHATEVER-WORKS-HERE //STEP1 EXEC MXGSAS //PDB DD DSN=MXG.PDB,DISP=(,CATLG),SPACE=(1250,300)) //SPIN DD DSN=MXG.SPIN,DISP=OLD //SMF DD DSN=YOUR.SMFDATA,DISP=SHR //SYSIN DD * PROC DATASETS DDNAME=PDB MT=DATA KILL; %LET EPDBINC=%QUOTE( VMACSMF,VMACSPMS,VMACTCP,VMAC41,VMACHIPR, /* ADD USER DATA */ VMACWSF,VMACNDM,VMACNSPY,VMACSTC, VMAC39,VMAC91,VMACSVCC,VMACSUIN ); %LET MACFILE=%QUOTE( IF 73 LE ID LE 75 /* THROW AWAY THE 73-75 SO THAT THE DATASETS*/ THEN DELETE; /* ARE CREATED WITH 0 OBS AND RMFINTRV RUNS*/ IF ID=78 THEN DELETE; /* THROW AWAY THE 78 SO THAT THE DATASETS*/ /* ARE CREATED WITH 0 OBS AND RMFINTRV RUNS*/ IF 100 LE ID LE 102 THEN DELETE; /* THROW AWAY DB2*/ IF 110 EQ ID THEN DELETE; /* THROW AWAY CICS*/ ); %LET MACKEEP=%QUOTE( /* ELIMINATE TYPE 110 LOGIC */ MACRO _VAR110 % MACRO _CDE110 IF 99 = -99 THEN RETURN;% /* ELIMINATE TYPE DB2 LOGIC */ MACRO _VARDB2 % MACRO _CDEDB2 IF 99 = -99 THEN RETURN;% MACRO _SCICEXC % /* REMOVE SORT OF CICEXC */ MACRO _SCICSYS % /* REMOVE SORT OF CICSYS */ MACRO _DIFFDB2 % /* REMOVE DIFFDB2 LOGIC */ MACRO _INTCICS % /* REMOVE CICINTRV LOGIC */ MACRO _SPINCNT 5 % /* SET SPIN COUNT - IMACSPIN */ MACRO _TIMEDIF 0 % /* SET TIME DELTA VALUE - IMACTIME */ MACRO _IDTMNT 238 % /* SMF ID OF TAPE MOUNT MONITOR */ MACRO _IDNDM 254 % /* SMF ID OF NDM DATA */ MACRO _IDSVCC 202 % /* SMF ID OF SERVICE CENTER DATA */ MACRO _IDNSPY 132 % /* SMF ID OF NETSPY DATA */ MACRO _IDSTC 235 % /* SMF ID OF STC SILO DATA */ MACRO _IDWSFAU 130 % /* SMF ID OF WSF AUDIT DATA */ MACRO _IDWSFAC 128 % /* SMF ID OF WSF ACCOUNTING DATA */ MACRO _IDSPMS 249 % /* SMF ID OF SPMS ACCOUNTING DATA */ MACRO _IDSUIN 227 % /* SMF ID OF SUPER IND$FILE */ MACRO _EPDBOUT /* ADD SORTS OF DATASETS ADDED */ _STCP _S91 _SSVCC _SSTC _S39 _SNSPY _SNDM _SWSF _SSPMS _S41 _SHIPR _SSUIN % MACRO _VARUSER /* ADD VARS FOR DATASETS ADDED */ _VARTCP _VAR91 _VARSVCC _VARSTC _VAR39 _VARNSPY _VARNDM _VARWSF _VARSPMS _VAR41 _VARHIPR _VARSUIN % MACRO _CDEUSER /* ADD CODE FOR DATASETS ADDED */ _CDETCP _CDE91 _CDESVCC _CDESTC _CDE39 _CDENSPY _CDENDM _CDEWSF _CDESPMS _CDE41 _CDEHIPR _CDESUIN % ); %INCLUDE SOURCLIB(BUILDPDB);