SMF Type 201 Record
This table shows the record layout for type 201 SMF records
(Stop X37 event/activity).
List of other SMF record layouts available.
List of sample SMF reports.
Purpose: Logs Stop X37 event/activity.
It's easy to report on SMF 201 data! | |
Spectrum SMF Writer handles the difficult SMF record parsing for you automatically. You just specify which fields you want to see. Spectrum SMF Writer also converts the arcane date and time fields and reformats them into an attractive report. Plus, Spectrum SMF Writer can export SMF data as comma delimited files to use on your PC.
|
The Spectrum Writer definitions for the SMF type 201 record below are based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual and/or DSECTs mapped by its Assembler macros.
 
File Definition for Type 201 SMF Records Stop X37 event/activity
*********************************************************************** * SPECTRUM SMF WRITER -- FILE DEFINITION STATEMENTS * * SMF TYPE 201 RECORD - "STOP X37 EVENT/ACTIVITY" * *********************************************************************** OPTION: MISSOFFSET /* TREAT OFFSET ERRORS (99999) LIKE MISSING DATA */ OPTION: STCKADJ(0) /* NO GMT TO LOCAL CONVERSION - DURATIONS*/ FLD: SMFPRLEN TYPE(HALF) DISP(0) /*RECORD LENGTH FOR VB OR VBS.*/ FLD: SMFPRSEG TYPE(HALF) DISP(2) /*SEGMENT DESCRIPTOR FOR VBS.*/ * FLD: SMFPRFLG LEN(1) TYPE(BIN) DISP(4) /*DEFAULT TO VS/2 XA.*/ FLD: SMFPRRTY LEN(1) TYPE(BIN) DISP(5) /*RECORD TYPE (NUMBER).*/ FLD: SMFPRTME LEN(4) TYPE(B-SECS) DISP(6) DEC(2) /*TIME IN HUNDRETHS REC WRITTEN.*/ FLD: SMFPRDTE TYPE(P-CYYDDD) DISP(10) /*DATE RECORD WAS WRITTEN.*/ FLD: SMFPRSID LEN(4) DISP(14) /*' SYSTEM ID FROM SMCASID IN SMCA.*/ FLD: SMFPRSSI LEN(4) DISP(18) /*' SUBSYSTEM ID.*/ * FLD: SMFPRSTY TYPE(HALF) DISP(22) /*RECORD SUBTYPE.*/ *SMFSTMSG EQU 1 - MESSAGE SMF RECORD. *SMFSTREC EQU 2 - RECOVERY PERFORMED. * * END OF STANDARD SMF HEADER (W/ SUBTYPES) * FLD: SMFPRTRN LEN(2) TYPE(BIN) DISP(24) /*# OF TRIPLETS IN RECORD.*/ FLD: SMFPRPRS LEN(4) TYPE(BIN) DISP(28) /*OFFSET TO THE PRODUCT SECTION.*/ FLD: SMFPRPRL LEN(2) TYPE(BIN) DISP(32) /*LENGTH OF PRODUCT SECTION.*/ FLD: SMFPRPRN TYPE(HALF) DISP(34) /*NUMBER OF SECTIONS (ALWAYS 1).*/ * FLD: SMFPRJIO LEN(4) TYPE(BIN) DISP(36) /*OFFSET TO THE JOB INFO SECTION.*/ FLD: SMFPRJIL LEN(2) TYPE(BIN) DISP(40) /*LENGTH OF JOB INFO SECTION.*/ FLD: SMFPRJRN TYPE(HALF) DISP(42) /*NUMBER OF SECTIONS (ALWAYS 1).*/ * FLD: SMFPRMCS LEN(4) TYPE(BIN) DISP(44) /*OFFSET TO THE MSG CNTL SECTION.*/ FLD: SMFPRMCL LEN(2) TYPE(BIN) DISP(48) /*LENGTH OF MSG CNTL SECTION.*/ FLD: SMFPRMCN LEN(1) DISP(50) /*NUMBER OF SECTIONS.*/ * FLD: SMFPRASS LEN(4) TYPE(BIN) DISP(51) /*OFFSET TO THE DATA SECTION.*/ FLD: SMFPRASL LEN(2) TYPE(BIN) DISP(55) /*LENGTH OF THE DATA SECTION.*/ FLD: SMFPRASN LEN(1) DISP(57) /*NUMBER OF SECTIONS.*/ * FLD: SMFPRDCS LEN(4) TYPE(BIN) DISP(58) /*OFFSET TO THE DATA CNTL SECTION.*/ FLD: SMFPRDCL LEN(2) TYPE(BIN) DISP(62) /*LENGTH OF THE DATA CNTL SECTION.*/ FLD: SMFPRDCN LEN(1) DISP(64) /*NUMBER OF SECTIONS.*/ * * * PROSMS PRODUCT CONTROL SECTION. * *********************************************************************** **** SMFPRPRO DSECT *********************************************************************** FLD: SMFPRPRO DISP(0) LEN(140) OFFSET(96) FLD: SMFPRPRD LEN(8) DISP(0) /*PRODUCT NAME.*/ FLD: SMFPROVS LEN(1) DISP(8) /*PRODUCT VERSION NUMBER.*/ FLD: SMFPRMPRE LEN(3) DISP(9) /*MESSAGE PREFIX*/ FLD: SMFPRMODE LEN(1) DISP(12) /*MODE 360064*/ FLD: SMFPRRS1 LEN(3) DISP(13) /*RESERVED. 360064*/ FLD: SMFPRMVS LEN(8) DISP(16) /*' MVS SOFTWARE LEVEL FROM CVT 40.*/ FLD: SMFPRXNM LEN(8) DISP(24) /*' SYSPLEX NAME (FROM ECVTSPLX).*/ FLD: SMFPRSNM LEN(8) DISP(32) /*' NAME OF THE CURRENT SYSTEM.*/ FLD: SMFPRFUN LEN(8) DISP(40) /*' FUNCTION NAME.*/ FLD: SMFPRMOD LEN(8) DISP(48) /*' MODULE NAME.*/ FLD: SMFPRCSN LEN(8) DISP(56) /*' CSECT NAME.*/ FLD: SMFOSYS LEN(1) DISP(64) /*' OS ID.*/ FLD: SMFOSFM LEN(1) DISP(65) /*' FMID.*/ FLD: SMFDFPL LEN(1) DISP(66) /*' DFP LEVEL.*/ FLD: SMFCPUM LEN(1) DISP(67) /*' CPU MODEL.*/ FLD: SMFCPUS LEN(1) DISP(68) /*' CPU SERIAL NUMBER.*/ FLD: SMFTSOE LEN(1) DISP(69) /*' TSO/E LEVEL.*/ FLD: SMFSSID LEN(4) DISP(70) /*' SUBSYSTEM ID USED BY LOADER.*/ * * PROSMS JOB INFORMATION SECTION. * *********************************************************************** **** SMFPRJOB DSECT *********************************************************************** FLD: SMFPRJOB DISP(0) LEN(72) OFFSET(104) FLD: SMFJNAME LEN(8) DISP(0) /*' JOB NAME.*/ FLD: SMFPRJID LEN(8) DISP(8) /*' JES JOB ID.*/ FLD: SMFPRJS LEN(8) DISP(16) /*' CURRENT JOBSTEP.*/ FLD: SMFPRJPS LEN(8) DISP(24) /*' CURRENT JOB PROCSTEP.*/ FLD: SMFPRJSP LEN(8) DISP(32) /*' PROGRAM NAME ON EXEC CARD.*/ FLD: SMFRGRP LEN(8) DISP(40) /*' RACF GROUP*/ FLD: SMFRUID LEN(8) DISP(48) /*' RACF USERID*/ FLD: SMFJST LEN(4) TYPE(B-SECS) DISP(56) DEC(2) /*JOB START TIME*/ FLD: SMFJSD TYPE(P-CYYDDD) DISP(60) /*JOB START DATE*/ FLD: SMFJCLAS LEN(1) DISP(64) /*' JOB CLASS*/ * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * M E S S A G E C O N T R O L S E C T I O N ( M C S ) * *********************************************************************** **** PSMPMCS DSECT *********************************************************************** FLD: PSMPMCS DISP(0) LEN(104) OFFSET(112) FLD: PSMMSGLN LEN(1) TYPE(BU) DISP(0) /*LENGTH OF MESSAGE.*/ FLD: PSMMSGR1 LEN(1) DISP(1) /*RESERVED.*/ FLD: PSMMSGTX_T LEN(100) DISP(2) /*START OF MESSAGE TEXT.*/ FLD: PSMMSGTX COL(PSMMSGTX_T) LEN(PSMMSGLN) * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * D A T A C O N T R O L S E C T I O N ( D C S ) * * THIS IS BASICALLY A COPY OF THE GWA. USE THE DCS TRIPLET TO * DETERMINE THE AVAILABLE SET OF FIELDS ALONG WITH A DETERMINATION * OF ITS INCLUSING INTO THE RECORD. IF THE LENGTH IS ZERO, IT IS * NOT IN THE RECORD. * * -- NOTE -- ANY CHANGE MADE TO THE GWA IN THE COPY BOOK SMM4WORK * MUST BE MADE HERE AS WELL. * *********************************************************************** **** PSMPDCS DSECT *********************************************************************** FLD: PSMPDCS DISP(0) LEN(1126) OFFSET(116) FLD: PSMEYE LEN(4) DISP(0) /*SMM4*/ FLD: PSMRDW TYPE(HALF) DISP(4) /*LENGTH OF RECORD*/ FLD: PSMRDWZ TYPE(HALF) DISP(6) /*HALFWORD INITIALIZED TO ZERO*/ FLD: PSMSMUV LEN(4) TYPE(BIN) DISP(8) /*SMUV ADDRESS*/ FLD: PSMSMAT LEN(4) TYPE(BIN) DISP(12) /*SMAT ADDRESS*/ FLD: PSMSMFNM LEN(1) DISP(16) /*SMF "NAME" FIELD*/ FLD: PSMSMFRT LEN(1) DISP(17) /*SMF RECORD TYPE*/ FLD: PSMSMFTI LEN(4) TYPE(B-SECS) DISP(18) DEC(2) /*TIME OF RECORD*/ FLD: PSMSMFDA TYPE(P-CYYDDD) DISP(22) /*DATE OF RECORD*/ FLD: PSMSMFSI LEN(4) DISP(26) /*SYSTEM IDENTIFICATION (SID)*/ FLD: PSMSMFJN LEN(8) DISP(30) /*JOB NAME*/ FLD: PSMSMFET LEN(4) TYPE(B-SECS) DISP(38) DEC(2) /*ENTRY TIME TO RDR (.01 SECS)*/ FLD: PSMSMFED TYPE(P-CYYDDD) DISP(42) /*ENTRY DATE TO RDR (00YYDDDF)*/ FLD: PSMX37 LEN(4) DISP(46) /*C'X37'*/ FLD: PSMVERS LEN(2) DISP(50) /*RELEASE/VERSION NUMBERS*/ FLD: PSMCPUTI LEN(4) TYPE(B-SECS) DISP(52) DEC(2) /*CUMMULATIVE CPU TIME*/ FLD: PSMSTEPT LEN(4) TYPE(B-SECS) DISP(56) DEC(2) /*STEP CPU TIME*/ FLD: PSMERROR LEN(1) DISP(60) /*Y RECOVERY NOT ATTEMPTED*/ FLD: PSMFFLAG LEN(1) DISP(61) /*TYPE OF RECOVERY*/ *PSMFRED EQU 00 REDUCE (SPACSECR) *PSMFSEC EQU 04 ADD SECONDARY (SPACSECA) *PSMFSWI EQU 08 VOLUME ADD (SPACVOLA) *PSMFSNA EQU 12 REDUCE PRIMARY (SPACPRIM) *PSMFRCAT EQU 16 RECAT (NOCATLG2) *PSMFVRED EQU 20 VSAM REDUCE (SPACSECR) *PSMFSECI EQU 24 SECNDRY INCRESE(SPACSECI) *PSMFSECB EQU 28 SECNDRY BESTFIT(SPACSECB) *PSMFSWIR EQU 32 VOL ADD SECRED (SPACSWIR) FLD: PSMSKIP LEN(1) DISP(62) /*SKIP FLAG BITS*/ *PSMSEXCP EQU X'80' 1... .... SKIP EXCP CHECK *PSMSNOTE EQU X'40' .1.. .... SKIP NOTE/POINT CHECK *PSMSDISP EQU X'20' ..1. .... SKIP DISP CHECK *PSMSDSN EQU X'10' ...1 .... SKIP DSNAME CHECK *PSMSENQ EQU X'08' .... 1... SKIP DSNAME ENQ CHECK *PSMSDC EQU X'04' .... .1.. SKIP DEVICE CHARACTERISTICS *PSMSCTG EQU X'02' .... ..1. SKIP CONTIG CHECK *PSMSKIPEXCP EQU X'80' 1... .... SKIP EXCP CHECK *PSMSKIPNOTE EQU X'40' .1.. .... SKIP NOTE/POINT CHECK *PSMSKIPDISP EQU X'20' ..1. .... SKIP DISP CHECK *PSMSKIPDSN EQU X'10' ...1 .... SKIP DSNAME CHECK *PSMSKIPENQU EQU X'08' .... 1... SKIP DSNAME ENQ CHECK *PSMSKIPDC EQU X'04' .... .1.. SKIP DEVICE CHARACTERISTICS *PSMSKIPCTG EQU X'02' .... ..1. SKIP CONTIG CHECK *SPARE EQU X'01' .... ...1 SPARE * FLD: PSMSTEPN LEN(1) TYPE(BIN) DISP(63) /*STEP NUMBER*/ FLD: PSMDATE LEN(4) TYPE(B-SECS) DISP(64) DEC(2) /*CURRENT DATE*/ FLD: PSMTIME LEN(4) TYPE(BIN) DISP(68) /*CURRENT TIME*/ FLD: PSMBTIME LEN(4) TYPE(BIN) DISP(72) /*CURRENT TIME (BINARY)*/ FLD: PSMYEAR LEN(4) TYPE(BIN) DISP(76) /*CURRENT YEAR*/ FLD: PSMNDAY LEN(4) TYPE(BIN) DISP(80) /*CURRENT # OF DAYS SINCE*/ FLD: PSMCDAY LEN(10) DISP(84) /*CURRENT DAY*/ FLD: PSMCTIME LEN(8) DISP(94) /*CURRENT TIME (CHARACTER)*/ FLD: PSMSTYP LEN(3) DISP(102) /*SPACE ALLOCATION TYPE*/ FLD: PSMIDCVS LEN(1) DISP(105) /*C'Y' REDUCE PRIMARY FOR*/ * NON-JCL-ALLOC VSAM (IDCAMS) * * INFORMATION GATHERED FOR USE DURING SELECTION PROCESSING. * FLD: PSMJNAME LEN(8) DISP(106) /*NAME OF JOB*/ FLD: PSMJACT1 LEN(20) DISP(114) /*JOB ACCT #1*/ FLD: PSMJACT2 LEN(20) DISP(134) /*JOB ACCT #2*/ FLD: PSMJACT3 LEN(20) DISP(154) /*JOB ACCT #3*/ FLD: PSMSACT1 LEN(20) DISP(174) /*STEP ACCT #1*/ FLD: PSMSACT2 LEN(20) DISP(194) /*STEP ACCT #2*/ FLD: PSMSACT3 LEN(20) DISP(214) /*STEP ACCT #3*/ FLD: PSMPGMNM LEN(20) DISP(234) /*PROGRAMMER NAME FIELD*/ FLD: PSMRGRP LEN(8) DISP(254) /*RACF GROUP*/ FLD: PSMRUID LEN(8) DISP(262) /*RACF USERID*/ FLD: PSMACF2_USERID LEN(24) DISP(270) /*ACF2 USERID*/ FLD: PSMOWNER LEN(40) DISP(294) /*VSAM OWNER ID*/ FLD: PSMDSNM LEN(44) DISP(334) /*NAME OF DATASET*/ FLD: PSMCAT LEN(44) DISP(378) /*CATALOG NAME DATASET IS IN*/ FLD: PSMDSORG LEN(3) DISP(422) /*DATASET ORGANIZATION*/ FLD: PSMDSTYP LEN(4) DISP(425) /*DATASET TYPE (PERM/TEMP/GDG)*/ FLD: PSMUNITT LEN(8) DISP(429) /*UNIT TYPE (IE. 3350)*/ FLD: PSMDDNM LEN(8) DISP(437) /*ORIGINAL DDNAME*/ FLD: PSMJTYP LEN(3) DISP(445) /*TYPE OF TASK (JOB,STC,TSU)*/ FLD: PSMDISP1 LEN(3) DISP(448) /*DATASET DISPOSITION*/ FLD: PSMLTYPE LEN(3) DISP(451) /*ALLOCATION TYPE (CYL,TRK,BLK)*/ FLD: PSMDISP2 LEN(7) DISP(454) /*SCHED. DISP (CATLG,KEEP..)*/ FLD: PSMDISP3 LEN(7) DISP(461) /*ABTERM DISP (CATLG,KEEP..)*/ FLD: PSMREL LEN(1) DISP(468) /*C'Y' RLSE CODED IN SPACE PARM*/ FLD: PSMMDAY LEN(10) DISP(469) /*JOB START DAY OF WEEK*/ FLD: PSMMJDAT LEN(6) DISP(479) /*JOB START JULIAN DATE*/ FLD: PSMMDATE LEN(8) DISP(485) /*JOB START DATE (CHARACTER)*/ FLD: PSMMTIME LEN(8) DISP(493) /*JOB START TIME (CHARACTER)*/ FLD: PSMEXPDT LEN(8) DISP(501) /*EXPIRATION DATE*/ FLD: PSMRETPD LEN(4) TYPE(BIN) DISP(509) /*RETENTION PERIOD*/ FLD: PSMPROG LEN(8) DISP(513) /*PROGRAM NAME ON EXEC CARD*/ FLD: PSMRECOV LEN(8) DISP(521) /*TYPE OF RECOVERY*/ FLD: PSMUNITN LEN(8) DISP(529) /*UNIT NAME*/ FLD: PSMOPER LEN(1) DISP(537) /*OPER SUPPLIED VOLUME FOR SWITCH*/ FLD: PSMJCLAS LEN(1) DISP(538) /*JOB CLASS*/ FLD: PSMTMDSN LEN(1) DISP(539) /*TEMP DATASET FLAG (Y YES)*/ FLD: PSMVOLSQ TYPE(HALF) DISP(540)/*VOLUME SEQUENCE*/ FLD: PSMNVOL LEN(4) TYPE(BIN) DISP(542) /*NUMBER OF VOLUMES*/ FLD: PSMPSPC LEN(4) TYPE(BIN) DISP(546) /*PRIMARY SPACE ALLOCATION*/ FLD: PSMSSPC LEN(4) TYPE(BIN) DISP(550) /*SECONDARY SPACE ALLOCATION*/ FLD: PSMJST LEN(4) TYPE(B-SECS) DISP(554) DEC(2) /*JOB START TIME*/ FLD: PSMJSD TYPE(P-CYYDDD) DISP(558) /*JOB START DATE*/ FLD: PSMNUNIT LEN(4) TYPE(BIN) DISP(562) /*NUMBER OF UNITS*/ FLD: PSMNQUAL LEN(4) TYPE(BIN) DISP(566) /*NUMBER OF DSNAME QUALIFIERS*/ FLD: PSMHLQ LEN(8) DISP(570) /*HLQ OF DSNAME*/ FLD: PSMQUAL1 LEN(8) DISP(570) /*1ST QUALIFIER*/ FLD: PSMQUAL2 LEN(8) DISP(578) /*2ND QUALIFIER*/ FLD: PSMQUAL3 LEN(8) DISP(586) /*3RD QUALIFIER*/ FLD: PSMQUAL4 LEN(8) DISP(594) /*4TH QUALIFIER*/ FLD: PSMQUAL5 LEN(8) DISP(602) /*5TH QUALIFIER*/ FLD: PSMQUAL6 LEN(8) DISP(610) /*6TH QUALIFIER*/ FLD: PSMQUAL7 LEN(8) DISP(618) /*7TH QUALIFIER*/ FLD: PSMQUAL8 LEN(8) DISP(626) /*8TH QUALIFIER*/ FLD: PSMQUALL LEN(8) DISP(634) /*LAST QUALIFIER*/ FLD: PSMSTEP LEN(8) DISP(642) /*STEP NAME*/ FLD: PSMPROCS LEN(8) DISP(650) /*PROC STEP NAME*/ FLD: PSMCDCT LEN(60) DISP(658) /*DCT FOR CURRENT UCB*/ FLD: PSMMSGB LEN(256) DISP(718) /*DEFAULT BUFFER FOR MSGED*/ FLD: PSMTEXT LEN(4) TYPE(BIN) DISP(974) /*TOTAL NUMBER OF EXTENTS*/ FLD: PSMPOOL LEN(8) DISP(978) /*EASY/POOL POOL NAME FOR VOLUME*/ FLD: PSMREFV LEN(6) DISP(986) /*EASY/POOL REF VOLID*/ FLD: PSMLIB LEN(1) DISP(992) /*DSNTYPE LIBRARY (PDSE)*/ FLD: PSMIAM LEN(1) DISP(993) /*IAM DATASET (Y/N)*/ FLD: PSMSIZE LEN(4) TYPE(BIN) DISP(994) /*PRIMARY SPACE IN KB*/ FLD: PSMSIZES LEN(4) TYPE(BIN) DISP(998) /*SECONDARY SPACE IN KB*/ FLD: PSMMSIZE LEN(4) TYPE(BIN) DISP(1002) /*1 PRI SPACE + 15 SECS IN KB*/ FLD: SMF201_END LEN(1) OFFSET(0) |