Go to Home Page
Questions?
Call 1-800-572-5517
 
  Go to Home Page  
  See all products
  See price schedules
  See manuals, tutorials, articles
  Download a free 30-day trial
  See user testimonials
  About Pacific Systems Group
 
 
SMF Tools
  See SMF Record Layouts
  See Sample SMF Reports
  Learn How to Export SMF Data
  Download Free SMF Reporting Software (30 days)
 
One of the greatest SMF record parsing programming languages I've ever seen. Chief, Large Systems Services Branch, NIH
  Choose Spectrum Writer to add 4GL to your product
  Free 60-Page Book (PDF) - How to Make an SMF Report
Spectrum DCOLLECT Reporter - the 4GL DCOLLECT Report Writer.

Spectrum SMF Writer - the 4GL SMF Report Writer.

SMF Type 208 Record

This table shows the record layout for type 208 SMF records
(SYNCSORT SMF RECORD).

List of other SMF record layouts available.
List of sample SMF reports.


It's easy to report on SMF 208 data!

SMF Spectrum Writer
We have a low-cost 4GL report writer especially for SMF files. It's called Spectrum SMF Writer.

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.
 
Try It FREE Now!

The Spectrum Writer definitions for the SMF type 208 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.

 

Spectrum SMF Writer
File Definition for Type 208 SMF Records
SYNCSORT SMF RECORD

***********************************************************************
*          SPECTRUM SMF WRITER -- FILE DEFINITION STATEMENTS          *
*             SMF TYPE 208 RECORD - "SYNCSORT SMF RECORD"             *
***********************************************************************
OPTION: MISSOFFSET /* TREAT OFFSET ERRORS (99999) LIKE MISSING DATA */
************************************************************
*
*            S Y N C S O R T   S M F   R E C O R D
*
************************************************************
*  THIS RECORD CONTAINS THREE VARIABLE LENGTH SEGMENTS WITHIN
*  IT.  TO ACCESS FIELDS BEYOND THE FIRST SUCH SEGMENT, YOU
*  MAY USE THE FOLLOWING TECHNIQUE, WHERE R1 CONTAINS THE
*  SMF RECORD ADDRESS:
*
*        USING SMF208DSECT,R1 BASE REG FOR 1ST FIXED SEGMENT
*        LA    R1,SMF208WKLEN ADDRESS OF 1ST VARIABLE SEGMENT
*        USING SMF208WKLEN,R1 BASE REG FOR 1ST VARIABLE SEGMENT
*        AH    R1,SMF208WKLEN ADDRESS OF 2ND FIXED SEGMENT
*        USING SMF208CHBG,R1 BASE REG FOR 2ND FIXED SEGMENT
*        LA    R1,SMF208EXTLN ADDRESS OF 2ND VARIABLE SEGMENT
*        USING SMF208EXTLN,R1 BASE REG FOR 2ND VARIABLE SEGMENT
*        SLR   R2,R2        CLEAR FOR INSERT CHARACTER INSTR
*        IC    R2,SMF208EXTLN NUMBER OF 3-BYTE EXIT LIST ENTRIES
*        MHI   R2,3         LENGTH OF FOLLOWING SMF208EXLST FIELD
*        LA    R2,1(,R2)    ADD HEADER LEN OF VARIABLE SEGMENT
*        AR    R1,R2        ADDRESS OF 3RD FIXED SEGMENT
*        USING SMF208RSRV2,R1 BASE REG FOR 3RD FIXED SEGMENT
*        LA    R1,SMF208SVEND ADDRESS OF 3RD VARIABLE SEGMENT
*        USING SMF208WKEXL,R1 BASE REG FOR 3RD VARIABLE SEGMENT
*        AH    R1,SMF208WKEXL ADDRESS OF 4TH FIXED SEGMENT
*        USING SMF208RSRV5,R1 BASE REG FOR 4TH FIXED SEGMENT
*
************************************************************
FLD: SMF208LEN LEN(2) TYPE(BIN) DISP(0)               /*RECORD LENGTH*/
FLD: SMF208SEG LEN(2) TYPE(BIN) DISP(2)          /*SEGMENT DESCRIPTOR*/
FLD: SMF208FLG LEN(1) TYPE(BIN) DISP(4)                /*SYSTEM FLAGS*/
FLD: SMF208RTY LEN(1) TYPE(BU) DISP(5)                  /*RECORD TYPE*/
FLD: SMF208TME LEN(4) TYPE(B-SECS) DISP(6) DEC(2)
                                  /*TIME RECORD WRITTEN TO SMF BUFFER*/
FLD: SMF208DTE TYPE(P-CYYDDD) DISP(10)
                                  /*DATE RECORD WRITTEN TO SMF BUFFER*/
*
FLD: SMF208SID LEN(4) DISP(14)    /*SYSTEM ID*/
*
FLD: SMF208JBN LEN(8) DISP(18)    /*JOBNAME OF JOB INVOKING THE SORT*/
FLD: SMF208STMN LEN(8) DISP(26)   /*STEPNAME OF STEP INVOKING SORT*/
FLD: SMF208STN LEN(2) TYPE(BIN) DISP(34)        /*STEP NUMBER OF STEP*/
FLD: SMF208STID TYPE(P-CYYDDD) DISP(36)        /*SORT INITIATION DATE*/
FLD: SMF208STIT LEN(4) TYPE(B-SECS) DISP(40) DEC(2)
                                  /*SORT INITIATION TIME*/
FLD: SMF208STTT LEN(4) TYPE(B-SECS) DISP(44) DEC(2)
                                  /*SORT TERMINATION TIME*/
*
FLD: SMF208IPVSN LEN(6) DISP(48)  /*SORTIN VOLUME SERIAL NUMBER*/
FLD: SMF208IPDSN LEN(44) DISP(54) /*SORTIN DSNAME*/
FLD: SMF208IPUCB LEN(2) DISP(98)  /*SORTIN UCB TYPE FIELD*/
FLD: SMF208IPUAD LEN(3) DISP(100) /*SORTIN UNIT ADDRESS*/
FLD: SMF208IPCAT LEN(1) DISP(103) /*SORTIN CONCATENATION FLAG*/
FLD: SMF208IPLRC LEN(2) TYPE(BIN) DISP(104)            /*SORTIN LRECL*/
FLD: SMF208IPBLK LEN(2) TYPE(BIN) DISP(106)        /*SORTIN BLOCKSIZE*/
*IF SMF208IPBLK IS SET TO X'FFFF', USE A FULL WORD SMF208IPLBK
FLD: SMF208IPRCF LEN(1) DISP(108) /*SORTIN RECFM:*/
*                            1=F      4=V      7=FBA
*                            2=FB     5=VB     8=VS
*                            3=FBS    6=VBS
FLD: SMF208SSTPF LEN(1) DISP(109) /*TPF LEVEL*/
FLD: SMF208SSTPS LEN(1) DISP(110) /*SUB TPF LEVEL*/
*
FLD: SMF208CHSSR LEN(1) TYPE(BIN) DISP(111) /*SYNCSORT RELEASE NUMBER*/
*
FLD: SMF208OPVSN LEN(6) DISP(112) /*SORTOUT VOLUME SERIAL NUMBER*/
FLD: SMF208OPDSN LEN(44) DISP(118)/*SORTOUT DSNAME*/
FLD: SMF208OPUCB LEN(2) DISP(162) /*SORTOUT UCBTYPE FIELD*/
FLD: SMF208OPUAD LEN(3) DISP(164) /*SORTOUT UNIT ADDRESS*/
FLD: SMF208OPCAT LEN(1) DISP(167) /*COBOL ADVANTAGE FLAGS:*/
COMP: SMF208USING = X'80'         /*COBOL "USING" DETECTED*/
COMP: SMF208GVING = X'40'         /*COBOL "GIVING" DETECTED*/
COMP: SMF208ADACT = X'20'         /*COBOL ADVANTAGE ACTIVE*/
COMP: SMF208APRST = X'10'         /*COBOL ADVANTAGE PRESENT*/
COMP: SMF208COBOL = X'01'         /*COBOL INVOKER DETECTED*/
FLD: SMF208OPLRC LEN(2) TYPE(BIN) DISP(168)           /*SORTOUT LRECL*/
FLD: SMF208OPBLK LEN(2) TYPE(BIN) DISP(170)       /*SORTOUT BLOCKSIZE*/
*IF SMF208OPBLK IS X'FFFF', USE FULL WORD SMF208OPLBK
FLD: SMF208OPRCF LEN(1) DISP(172) /*SORTOUT RECFM*/
FLD: SMF208OPXXX LEN(3) DISP(173) /*RESERVED FOR FUTURE USE*/
*
*  THE FOLLOWING SECTION DESCRIBES THE SORTWORK DATA SETS FOR
*  NON-MAXSORT EXECUTIONS.  (NO SORTWORK DATA WILL BE PRESENT
*  FOR MAXSORTS.)  THE FIRST FIVE FIELDS ARE FIXED WHILE THE
*  REMAINING FIELDS DEFINE A SORTWORK "ENTRY," ONE OF WHICH
*  OCCURS FOR EACH SORTWORK DATA SET:
*
FLD: SMF208WKNOA LEN(2) TYPE(BIN) DISP(176)
                                  /*NUMBER OF SORTWK DATA SETS ALLOC*/
FLD: SMF208WKTRK LEN(4) TYPE(BIN) DISP(178)
                                  /*NUMBER OF SORTWK TRACKS ALLOCATED*/
FLD: SMF208WKNDV LEN(2) TYPE(BIN) DISP(182)
                                  /*NUMBER OF SORTWK DEVICES*/
FLD: SMF208WKDVT LEN(2) TYPE(BIN) DISP(184)
                                  /*DEVICE TYPE OF SORTWK DATA SETS:*/
*                            1 = 3375        5 = 3340
*                            2 = 3390        6 = 3380
*                            3 = 3330        7 = 3350
*                            4 = 3330-11
*
FLD: SMF208WKLEN LEN(2) TYPE(BIN) DISP(186)
                                /*LENGTH OF SORTWK FIELDS FOLLOWING .*/
*                         ... THIS FIELD, INCLUDING THIS FIELD
*
***********************************************************************
**** SMF208_WKENTRY DSECT
***********************************************************************

***********************************************************************
* TO REPORT ON ALL OCCURRENCES OF SMF208_WKENTRY, USE:
*    INPUT: SMF208
*           NORMWHEN(SMF208RTY = 208 AND SMF208WKLEN > 2)
*           NORMALIZE(SMF208_WKENTRY, (SMF208WKLEN - 2)/32)
***********************************************************************
COMP: WKENTRY_OFFSET =
           WHEN(SMF208RTY = 208 AND SMF208WKLEN > 2) ASSIGN(188)
           ELSE                                 ASSIGN(99999)
FLD: SMF208_WKENTRY DISP(0) LEN(32) OFFSET(WKENTRY_OFFSET)
FLD: SMF208WKDDN LEN(8) DISP(0)   /*DDNAME OF THIS SORTWK DATA SET*/
FLD: SMF208WKVSN LEN(6) DISP(8)   /*VOLSER OF THIS SORTWK DATA SET*/
FLD: SMF208WKUAD LEN(3) DISP(14)  /*UNIT ADDRESS OF THIS SORTWK D.S.*/
FLD: SMF208WKCID LEN(1) DISP(17)  /*CONTIGUOUS SPACE INDICATOR*/
COMP: SMF208WKCOG = X'01'         /*SORTWK CONTIGUOUS SPACE*/
COMP: SMF208WKCAH = X'02'         /*CACHE FAST WRITE USED*/
COMP: SMF208WKS99 = X'80'         /*DYNAMICALLY ALLOCATED DATA SET*/
COMP: SMF208WKOLD = X'40'         /*UNOPENED, DISP OLD DATA SET*/
FLD: SMF208WKPTR LEN(2) TYPE(BIN) DISP(18)
                                 /*NUMBER OF PRIMARY TRKS ALLOCATED..*/
*                         ... FOR THIS SORTWORK DATA SET
*                         ... IF X'FFFF' USE FULL WORD VALUE SMF208WKEPR
*                         ... IN THE SORTWORK INFORMATION EXTENSION AREA
FLD: SMF208WKTRL LEN(2) TYPE(BIN) DISP(20)
                                 /*NUMBER PRIMARY TRACKS RELEASED ...*/
*                         ... FOR THIS SORTWORK DATA SET
*                         ... IF X'FFFF' USE FULL WORD VALUE SMF208WKERL
*                         ... IN THE SORTWORK INFORMATION EXTENSION AREA
FLD: SMF208WKTSC LEN(2) TYPE(BIN) DISP(22)
                                  /*NUMBER OF SECONDARY TRACKS ...*/
*                         ... OBTAINED FOR THIS DATA SET
*                         ... IF X'FFFF' USE FULL WORD VALUE SMF208WKESC
*                         ... IN THE SORTWORK INFORMATION EXTENSION AREA
FLD: SMF208WKEXC LEN(4) TYPE(BIN) DISP(24)
                                  /*EXCP COUNT FOR THIS DATA SET*/
FLD: SMF208WKUCB LEN(4) DISP(28)  /*4 DIGIT UCB DEVICE NUMBER*/
*
*SMF208WKENT EQU *-SMF208WKDDN LENGTH OF ONE SORTWK ENTRY
*
*---------------END-OF-SORTWORK-DETAIL-SECTION--------------
*
************************************************************
*    FIELDS AFTER THE 1ST VARIABLE SEGMENT                 *
************************************************************
***********************************************************************
**** SMF208_CHBG_SEG DSECT
***********************************************************************

FLD: SMF208_CHBG_SEG DISP(0) LEN(1) OFFSET(186 + SMF208WKLEN)
*SMF208CHBG EQU *
*
*  THE FOLLOWING SIX FIELDS WILL BE SET TO X'7FFFFFFF' IF THEY
*  EXCEED THAT NUMBER.  SEE THE FIELDS LABELED SMF208P8... FOR
*  THE COMPLETE NUMBERS IN PL8 FORMAT.
*
FLD: SMF208CHSIZ LEN(4) TYPE(BIN) DISP(0)
                                  /*NUMBER OF CHARACTERS SORTED*/
FLD: SMF208CHRIN LEN(4) TYPE(BIN) DISP(4)
                                  /*NUMBER OF SORTIN/SORTINNN RECORDS*/
FLD: SMF208CHROT LEN(4) TYPE(BIN) DISP(8)
                                  /*NUMBER OF SORTOUT RECORDS OR ...*/
*                        ...RECORDS INTO OUTFIL PROCESSING
FLD: SMF208CHINS LEN(4) TYPE(BIN) DISP(12)
                                  /*NUMBER RECORDS INSERTED BY EXITS*/
FLD: SMF208CHDEL LEN(4) TYPE(BIN) DISP(16)
                              /*NUMBER OF RECORDS DELETED BY EXITS...*/
*                        ...AND INCLUDE/OMIT & SUM PROCESSING
FLD: SMF208CHSZP LEN(4) TYPE(BIN) DISP(20)
                                  /*SIZE PARAMETER FROM SORT CARD*/
FLD: SMF208CHESI LEN(1) DISP(24)  /*SIZE ESTIMATED INDICATOR*/
FLD: SMF208CHLKI LEN(1) DISP(25)  /*EXIT LINK NEEDED INDICATOR*/
FLD: SMF208CHXT1 LEN(2) DISP(26)  /*EXIT BIT INDICATORS*/
FLD: SMF208CHDB2 LEN(1) DISP(28)  /*DB2 QUERY INPUT INDICATOR*/
FLD: SMF208CHJON LEN(1) DISP(29)  /*JOIN FEATURE INDICATOR*/
FLD: SMF208CHBAS LEN(2) TYPE(BIN) DISP(30)
                                  /*PERCENT BIAS FOUND IN THIS SORT*/
FLD: SMF208CHCRR LEN(4) TYPE(BIN) DISP(32)
                                  /*CORE REQUESTED FOR THIS SORT*/
FLD: SMF208CHCRU LEN(4) TYPE(BIN) DISP(36)   /*CORE USED BY THIS SORT*/
FLD: SMF208CHPRR LEN(4) TYPE(BIN) DISP(40)
                                 /*NUMBER OF RECORDS THAT FIT INTO...*/
*                        ... RECORD STORAGE AREA DURING SORT
FLD: SMF208CHIBK LEN(2) TYPE(BIN) DISP(44)
                                  /*INTERMEDIATE STORAGE BLOCKSIZE*/
FLD: SMF208CHVML LEN(2) TYPE(BIN) DISP(46)
                                  /*V LENGTH RECORD MODAL SIZE*/
FLD: SMF208CHFLR LEN(2) TYPE(BIN) DISP(48)    /*F LENGTH RECORD LRECL*/
FLD: SMF208CHIMO LEN(2) TYPE(BIN) DISP(50) /*INTERMEDIATE MERGE ORDER*/
FLD: SMF208CHFMO LEN(2) TYPE(BIN) DISP(52)        /*FINAL MERGE ORDER*/
FLD: SMF208CHSTR LEN(2) TYPE(BIN) DISP(54)             /*STRING COUNT*/
FLD: SMF208CHNMX LEN(4) TYPE(BIN) DISP(56)                     /*NMAX*/
FLD: SMF208CHCTM LEN(4) TYPE(B-SECS) DISP(60) DEC(2)        /*CPUTIME*/
FLD: SMF208CHCAL LEN(2) DISP(64)  /*INVOKED BY INDICATOR*/
FLD: SMF208CHOPT LEN(2) DISP(66)  /*OPTIMIZATION MODE USED*/
FLD: SMF208CHERR LEN(3) DISP(68)  /*EBCDIC ERROR NUMBER*/
FLD: SMF208CHRLS LEN(5) DISP(71)  /*RELEASE NUMBER AND BASE TPF LEVEL*/
*                        OF SYNCSORT (5TH YTE IS R IF SORT
*                        IS REENTRANT)
FLD: SMF208CHSM LEN(1) DISP(76)   /*SORT OR MERGE INDICATOR ...*/
*                        ... (SORT=S, MERGE=M)
FLD: SMF208CHOPS LEN(3) DISP(77)  /*OPERATING SYSTEM FLAGS(CVT+16)*/
FLD: SMF208CHOU LEN(1) DISP(80)  /*OVER/UNDER ALLOCATION INDICATOR...*/
*                        ... (OVER=O, UNDER=U)
FLD: SMF208CHALF LEN(3) DISP(81)  /*EBCDIC OF ALLOCATION FACTOR*/
FLD: SMF208CHCPU LEN(2) DISP(84)
                                /*PACKED CPU MODEL NUMBER WITHOUT SIG*/
FLD: SMF208CHORS LEN(2) DISP(86) /*PACKED OPERATING SYSTEM RELEASE...*/
*                        ... NUMBER WITH SIGN
FLD: SMF208CHXT2 LEN(2) DISP(88)  /*EXIT BIT INDICATORS*/
FLD: SMF208CHFUT LEN(2) DISP(90) /*RESERVED FOR SYNCSORT INTERNAL USE*/
FLD: SMF208SOSOP LEN(4) TYPE(BIN) DISP(92)   /*SORTOUT PRIMARY TRACKS*/
FLD: SMF208SOSOS LEN(4) TYPE(BIN) DISP(96) /*SORTOUT SECONDARY TRACKS*/
FLD: SMF208SAS LEN(1) TYPE(BIN) DISP(100)    /*SAS/SORT INDICATOR ...*/
*                        ... (X'10' => SAS SORT)
*                        ... (X'11' => PROC SYNCSORT)
FLD: SMF208SOSOA LEN(3) DISP(101) /*SORTOUT ALLOCATION FACTOR ...*/
*                        ... (2 IMPLIED DECIMALS)
*  THE FOLLOWING TWO FIELDS WILL BE SET TO X'7FFFFFFF' IF THEY
*  EXCEED THAT NUMBER.
FLD: SMF208SISIF LEN(4) TYPE(BIN) DISP(104)
                                 /*FL: SORTIN SIZE (BYTES); VL: REC C*/
FLD: SMF208SOSOF LEN(4) TYPE(BIN) DISP(108)
                                /*FL: SORTOUT SIZE (BYTES); VL: REC C*/
FLD: SMF208VRPFU LEN(1) DISP(112) /*RESERVED*/
FLD: SMF208VRPFR LEN(1) DISP(113) /*RESERVED*/
FLD: SMF208CHINC LEN(1) DISP(114) /*INCORE SORT FLAG ...*/
*                        ... (X'01' => INCORE)
*                        ... (X'11' => FORCED INCORE)
FLD: SMF208WKWDM LEN(1) DISP(115) /*MIXED SORTWK DEVICE TYPE FLAG ...*/
*                        ... (X'01' => MIXED DEVICES)
FLD: SMF208WKWDB LEN(2) TYPE(BIN) DISP(116)
                                  /*SORTWK SECONDARY DEVICE TYPE*/
FLD: SMF208CHSKL LEN(2) TYPE(BIN) DISP(118)         /*SORT KEY LENGTH*/
FLD: SMF208CHSKN LEN(2) TYPE(BIN) DISP(120)          /*# OF SORT KEYS*/
FLD: SMF208CBFUT LEN(2) DISP(122)
                                 /*RESERVED FOR SYNCSORT INTERNAL USE*/
FLD: SMF208CHSRB LEN(4) TYPE(B-SECS) DISP(124) DEC(2)
                                  /*SUPERVISOR CPU TIME*/
*                           (0.01 SECOND UNITS)
FLD: SMF208CHSEG LEN(2) TYPE(BIN) DISP(128)     /*SORT SEGMENT LENGTH*/
FLD: SMF208CCFUT LEN(40) DISP(130)
                                 /*RESERVED FOR SYNCSORT INTERNAL USE*/
*
FLD: SMF208EXTLN LEN(1) TYPE(BIN) DISP(170)
                                  /*NUMBER OF EXIT LIST ENTRIES ...*/
*                        ... FOLLOWING THIS FIELD
*
***********************************************************************
**** SMF208_EXENTRY DSECT
***********************************************************************

***********************************************************************
* TO REPORT ON ALL OCCURRENCES OF SMF208_EXENTRY, USE:
*    INPUT: SMF208
*           NORMWHEN(SMF208RTY = 208 AND SMF208EXTLN > 0)
*           NORMALIZE(SMF208_EXENTRY, SMF208EXTLN)
***********************************************************************
COMP: EXENTRY_OFFSET =
           WHEN(SMF208RTY = 208 AND SMF208EXTLN > 0)
                  ASSIGN(186 + SMF208WKLEN + 171)
           ELSE   ASSIGN(99999)
FLD: SMF208_EXENTRY DISP(0) LEN(3) OFFSET(EXENTRY_OFFSET)
FLD: SMF208EXLST LEN(3) DISP(0)   /*ONE EXIT LIST ENTRY*/
*

************************************************************
*    FIELDS AFTER THE 2ND VARIABLE SEGMENT                 *
************************************************************
***********************************************************************
**** SMF208_RSRV2_SEG DSECT
***********************************************************************

FLD: SMF208_RSRV2_SEG DISP(0) LEN(1) OFFSET(186 + SMF208WKLEN
     + 171 + (SMF208EXTLN * 3))
FLD: SMF208RSRV2 LEN(40) DISP(0) /*RESERVED FOR SYNCSORT INTERNAL USE*/
FLD: SMF208EQULS LEN(1) DISP(40)  /*EQUALS FLAG*/
COMP: SMF208FLAGX = SMF208EQULS   /*REDEFINE FLAG*/
COMP: SMF208SOTRP = X'80'         /*... SORTOUT DATA STRIPING*/
COMP: SMF208SITRP = X'40'         /*... SORTIN DATA STRIPING*/
COMP: SMF208BPSI = X'20'          /*... BATCHPIPES/MVS DATASET SORTIN*/
COMP: SMF208BPDS = X'10'         /*... BATCHPIPES/MVS DATASET PRESENT*/
COMP: SMF208EQUON = X'01'         /*... EQUALS ON*/
FLD: SMF208CMP LEN(1) DISP(41)    /*CMP CPD INDICATOR*/
COMP: SMF208CMPPD = X'01'         /*... CMP CPD ON*/
FLD: SMF208COPYF LEN(1) DISP(42)  /*SORT FIELDS COPY INDICATOR*/
COMP: SMF208COPY = X'01'          /*... SORT FIELDS COPY*/
FLD: SMF208GENER LEN(1) DISP(43)  /*SYNCGENER INVOCATION FLAG*/
COMP: SMF208GNERF = X'01'         /*... SYNCGENER INVOKED*/
FLD: SMF208FTURE LEN(1) DISP(44)  /*FEATURES*/
COMP: SMF208INCOM = X'80'         /*... INCLUDE/OMIT*/
COMP: SMF208OUTRC = X'40'         /*... OUTREC*/
COMP: SMF208INREC = X'20'         /*... INREC*/
COMP: SMF208SUM = X'10'           /*... SUM / DUPKEYS SUM*/
COMP: SMF208OUTFL = X'08'         /*... OUTFIL*/
COMP: SMF208NONE = X'04'          /*... SUM/DUPKEYS FIELDS NONE*/
COMP: SMF208XSUM = X'02'          /*... SUM XSUM / DUPKEYS XDUP*/
COMP: SMF208CONV = X'01'          /*... CONVERT FEATURE OF OUTREC*/
FLD: SMF208SIIO LEN(1) DISP(45)   /*SORTIN ACCESS METHOD*/
COMP: SMF208SIVSM = X'80'         /*... VSAM*/
COMP: SMF208SIBSM = X'40'         /*... BSAM*/
COMP: SMF208SIQSM = X'20'         /*... QSAM*/
COMP: SMF208SIEXP = X'10'         /*... EXCP*/
COMP: SMF208SIEVR = X'08'         /*... RESERVED*/
COMP: SMF208SISIO = X'04'         /*... RESERVED*/
COMP: SMF208SIPAR = X'02'         /*... PARASORT USED*/
COMP: SMF208SIACC = X'01'         /*... SPARE*/
FLD: SMF208SOIO LEN(1) DISP(46)   /*SORTOUT ACCESS METHOD*/
COMP: SMF208SOVSM = X'80'         /*... VSAM*/
COMP: SMF208SOBSM = X'40'         /*... BSAM*/
COMP: SMF208SOQSM = X'20'         /*... QSAM*/
COMP: SMF208SOEXP = X'10'         /*... EXCP*/
COMP: SMF208SOEVR = X'08'         /*... RESERVED*/
COMP: SMF208SOSIO = X'04'         /*... RESERVED*/
COMP: SMF208SOFIL = X'02'         /*... OUTFIL*/
COMP: SMF208SOACC = X'01'         /*... SPARE*/
FLD: SMF208MPGFX LEN(1) DISP(47)  /*MERGE FLAG:*/
COMP: SMF208MPGSI = X'10'         /*... RESERVED*/
COMP: SMF208MPGSO = X'01'         /*... RESERVED*/
FLD: SMF208RETRY LEN(1) DISP(48)  /*AUTOMATIC SORT RETRY FLAG:*/
COMP: SMF208RTYED = X'10'         /*... SORT WILL BE RETRIED*/
COMP: SMF208RTYPG = X'01'         /*... THIS IS A RETRIED SORT*/
FLD: SMF208FLAG3 LEN(1) DISP(49)  /*MISC FLAG BYTE*/
COMP: SMF208DYNSW = X'80'         /*... DYNALLOC ENABLED FOR SORTWK*/
COMP: SMF208PIPE = X'40'          /*... ATTACHED FROM PIPESORT*/
COMP: SMF208F3#3 = X'20'          /*... RESERVED*/
COMP: SMF208F3RS1 = X'08'         /*... RESERVED*/
COMP: SMF208F3RS3 = X'04'         /*... RESERVED*/
COMP: SMF208F3DUP = X'02'         /*... DUPKEYS STATEMENT*/
COMP: SMF208F3O2I = X'01'        /*... OUTREC STMT CONVERTED TO INREC*/
FLD: SMF208CPXNO LEN(1) DISP(50)  /*RESERVED*/
FLD: SMF208XFLG1 LEN(1) DISP(51)  /*RESERVED*/
*
FLD: SMF208INVNM LEN(8) DISP(52)  /*INVOKING PROGRAM NAME*/
*
FLD: SMF208SICPC LEN(4) TYPE(BIN) DISP(60)        /*SORTIN EXCP COUNT*/
FLD: SMF208SOCPC LEN(4) TYPE(BIN) DISP(64)       /*SORTOUT EXCP COUNT*/
FLD: SMF208VSCOR LEN(4) TYPE(BIN) DISP(68)             /*VSCORE VALUE*/
FLD: SMF208VSCRT LEN(4) TYPE(BIN) DISP(72)            /*VSCORET VALUE*/
FLD: SMF208CAVLT LEN(4) TYPE(BIN) DISP(76)
                                  /*TOTAL VIRTUAL STORAGE AVAILABLE*/
FLD: SMF208CAVLA LEN(4) TYPE(BIN) DISP(80)
                                  /*STORAGE AVAILABLE ABOVE 16MB*/
FLD: SMF208CUSET LEN(4) TYPE(BIN) DISP(84)
                                  /*TOTAL VIRTUAL STORAGE USED*/
FLD: SMF208CUSEA LEN(4) TYPE(BIN) DISP(88)  /*STORAGE USED ABOVE 16MB*/
FLD: SMF208CREQT LEN(4) TYPE(BIN) DISP(92)
                                  /*VIRTUAL STORAGE REQUESTED:*/
*                        ... VALUE REQUESTED IF > 0
*                        ... "MAX" REQUESTED IF = 0
*                        ... "MAX-VALUE" VALUE IF < 0
FLD: SMF208COBFG LEN(1) DISP(96)  /*COBOL STATUS FLAG*/
FLD: SMF208COBNG LEN(1) DISP(97)  /*COBOL NOGO REASON FLAG*/
FLD: SMF208COBNM LEN(8) DISP(98)  /*COBOL PROGRAM NAME*/
FLD: SMF208COBRR LEN(10) DISP(106)/*COBOL VERSION AND RELEASE NUMBER*/
FLD: SMF208RSRV3 LEN(16) DISP(116)
                                 /*RESERVED FOR SYNCSORT INTERNAL USE*/
FLD: SMF208SRTIN LEN(4) DISP(132) /*SORTIN 4 DIGIT DEVICE NUMBER*/
FLD: SMF208SRTOU LEN(4) DISP(136) /*SORTOUT 4 DIGIT DEVICE NUMBER*/
FLD: SMF208RSRV4 LEN(20) DISP(140)
                                 /*RESERVED FOR SYNCSORT INTERNAL USE*/
FLD: SMF208RL2 TYPE(HALF) DISP(160)       /*RECORD LENGTH AFTER INREC*/
FLD: SMF208RL3 TYPE(HALF) DISP(162)      /*RECORD LENGTH AFTER OUTREC*/
FLD: SMF208JSWK LEN(4) TYPE(BIN) DISP(164)
                                  /*NUMBER OF JCL ALLOCATED SORTWKS*/
FLD: SMF208DSWK LEN(4) TYPE(BIN) DISP(168)
                                  /*NUMBER OF DYNALLOCED SORTWKS*/
FLD: SMF208RST LEN(4) TYPE(B-SECS) DISP(172) DEC(2)
                                /*TIME THAT READER RECOGNIZED JOB CAR*/
*                        TIME IN 1/100'S SECOND
FLD: SMF208RDS TYPE(P-CYYDDD) DISP(176)
                                /*DATE THAT READER RECOGNIZED JOB CAR*/
*                        DATE IN 00YYDDDF
FLD: SMF208P8SIZ LEN(8) TYPE(P) DISP(180)
                                  /*NUMBER OF CHARACTERS SORTED*/
FLD: SMF208P8RIN LEN(8) TYPE(P) DISP(188)
                                  /*NUMBER OF SORTIN/SORTINNN RECORDS*/
FLD: SMF208P8ROT LEN(8) TYPE(P) DISP(196)
                                /*NUMBER OF SORTOUT RECORDS OR RECORD*/
*                        INTO OUTFIL PROCESSING
FLD: SMF208P8INS LEN(8) TYPE(P) DISP(204)
                                /*NUMBER OF RECORDS INSERTED BY EXITS*/
FLD: SMF208P8DEL LEN(8) TYPE(P) DISP(212)
                                 /*NUMBER OF RECORDS DELETED BY EXITS*/
*                        INCLUDE/OMIT AND SUM PROCESSING
FLD: SMF208IPLBK LEN(4) TYPE(BIN) DISP(220)       /*SORTIN BLOCK SIZE*/
FLD: SMF208OPLBK LEN(4) TYPE(BIN) DISP(224)      /*SORTOUT BLOCK SIZE*/
FLD: SMF208OPSYS LEN(16) DISP(228)/*OPERATING SYSTEM, PRODUCT NAME*/
FLD: SMF208OPVER LEN(2) DISP(244) /*OPERATING SYSTEM, PRODUCT VERSION*/
FLD: SMF208OPREL LEN(2) DISP(246) /*OPERATING SYSTEM, PRODUCT RELEASE*/
FLD: SMF208OPLEV LEN(2) DISP(248)
                                /*OPERATING SYSTEM, PRODUCT MOD LEVEL*/
FLD: SMF208SPARE LEN(6) DISP(250) /*RESERVED FOR FUTURE USE*/
FLD: SMF208SVEND LEN(1)

*SMF208DSEC# EQU *-SMF208DSECT
*
*--------SORTWORK INFORMATION EXTENSION AREA
*--------THIS AREA CONTAINS FULL WORD VALUES FOR THE TRACKS
*--------ALLOCATED AND RELEASED. THERE IS ONE EXTENSION AREA
*--------FOR EACH SORTWK DESCRIBED IN THE BASIC SECTION ABOVE
*--------EACH EXTENSION IS IN THE SAME ORDER AS FOUND IN THE
*--------BASIC SECTION
FLD: SMF208WKEXL TYPE(HALF) DISP(256)
                              /*TOTAL LENGTH OF SORTWK EXTENSION AREA*/
*                        .... INCLUDING THIS FIELD
***********************************************************************
**** SMF208_WKEXTENTRY DSECT
***********************************************************************

***********************************************************************
* TO REPORT ON ALL OCCURRENCES OF SMF208_WKEXTENTRY, USE:
*           NORMWHEN(SMF208RTY = 208 AND SMF208WKLEN > 2)
*           NORMALIZE(WKENTRY,    (SMF208WKLEN - 2)/32,
*                     WKEXTENTRY, (SMF208WKLEN - 2)/32)
***********************************************************************
COMP: WKEXTENTRY_OFFSET =
           WHEN(SMF208RTY = 208 AND SMF208WKLEN > 2) 
                  ASSIGN(186 + SMF208WKLEN + 
                         171 + (SMF208EXTLN * 3)
                          + 260)
           ELSE   ASSIGN(99999)
FLD: SMF208_WKEXTENTRY DISP(0) LEN(16) OFFSET(WKEXTENTRY_OFFSET)
*SMF208WKEXT EQU *        WKEXT ENTRY
FLD: SMF208WKEPR LEN(4) TYPE(BIN) DISP(0)
                                  /*SORTWK PRIMARY TRKS ALLOCATED*/
*                        FULL WORD SMF208WKPTR VALUE
FLD: SMF208WKERL LEN(4) TYPE(BIN) DISP(4)
                                  /*SORTWK PRIMARY TRKS RELEASED*/
*                        FULL WORD SMF208WKTRL VALUE
FLD: SMF208WKESC LEN(4) TYPE(BIN) DISP(8)
                                  /*SORTWK SECONDARY TRKS ALLOCATED*/
*                        FULL WORD SMF208WKTSC VALUE
FLD: SMF208WKESP LEN(4) TYPE(BIN) DISP(12)                    /*SPARE*/
*SMF208WKELN EQU *-SMF208WKEXT LENGTH OF SWKEXT DSECT
*--------END AREA FOR FULL WORD VALUE OF SWK INFO
*
************************************************************
*    FIELDS AFTER THE 3RD VARIABLE SEGMENT                 *
************************************************************
***********************************************************************
**** SMF208_RSRV5_SEG DSECT
***********************************************************************

FLD: SMF208_RSRV5_SEG DISP(0) LEN(1) OFFSET(186 + SMF208WKLEN
     + 171 + (SMF208EXTLN * 3)
     + 256 + SMF208WKEXL)
FLD: SMF208RSRV5 LEN(200) DISP(0)
                                 /*RESERVED FOR SYNCSORT INTERNAL USE*/
FLD: SMF208_END LEN(1) OFFSET(0)

 

Copyright 2017.
Pacific Systems Group.
All rights reserved.
Home | Products | Prices | Documentation | 30-Day Trials | Customer Reviews | Company | FAQ | Sample Reports | SMF Records
Send Your Comments or Questions