Each SMF record written by Adabas Audit Data Retrieval starts with a header. The header consists of an IBM header section and a Beta header section.
As of Adabas Audit Data Retrieval V7R1 and z/OS 2.3 you can choose whether to use the standard IBM header (24 bytes) or the extended IBM header (56 bytes). This is controlled via the LST parameter B97_SMFREC_VERSION.
### in the field descriptions of the header sections is the mask for the subtype number.
The following tables describe the standard IBM header (24 byte) and the extended IBM header (56 byte).
Standard IBM header
These field descriptions are also available in:
                  BETA97.SAMPLIB(§97S###I)
               
| 
                           
                            Offset  | 
                        
                        
                           
                            Name  | 
                        
                        
                           
                            Length  | 
                        
                        
                           
                            Format  | 
                        
                        
                           
                            Description  | 
                        
                     
|---|---|---|---|---|
| 
                        
                         0  | 
                     
                     
                        
                         S###LEN  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Record length  | 
                     
                  
| 
                        
                         2  | 
                     
                     
                        
                         S###SEG  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         X  | 
                     
                     
                        
                         Not used  | 
                     
                  
| 
                        
                         4  | 
                     
                     
                        
                         S###FLG  | 
                     
                     
                        
                         1  | 
                     
                     
                        
                         F  | 
                     
                     
                        
                         System indicator (See description of standard SMF record header in the MVS System Management Facilities manual)  | 
                     
                  
| 
                        
                         5  | 
                     
                     
                        
                         S###RTY  | 
                     
                     
                        
                         1  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Adabas Audit Data Retrieval SMF record type (Record types 128..255 are available for use outside of IBM)  | 
                     
                  
| 
                        
                         6  | 
                     
                     
                        
                         S###TME  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         T  | 
                     
                     
                        
                         Time when the record was written  | 
                     
                  
| 
                        
                         10  | 
                     
                     
                        
                         S###DTE  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         D  | 
                     
                     
                        
                         Date when the record was written  | 
                     
                  
| 
                        
                         14  | 
                     
                     
                        
                         S###SID  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         System identification  | 
                     
                  
| 
                        
                         18  | 
                     
                     
                        
                         S###SSI  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         Subsystem ID  | 
                     
                  
| 
                        
                         22  | 
                     
                     
                        
                         S###STY  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Subtype  | 
                     
                  
Extended IBM header
These field descriptions are also available in:
                  BETA97.SAMPLIB(§97S###I) plus
                  BETA97.SAMPLIB(§97S###J)
               
| 
                           
                            Offset  | 
                        
                        
                           
                            Name  | 
                        
                        
                           
                            Length  | 
                        
                        
                           
                            Format  | 
                        
                        
                           
                            Description  | 
                        
                     
|---|---|---|---|---|
| 
                        
                         0  | 
                     
                     
                        
                         S###LEN  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Record length  | 
                     
                  
| 
                        
                         2  | 
                     
                     
                        
                         S###SEG  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         X  | 
                     
                     
                        
                         Not used  | 
                     
                  
| 
                        
                         4  | 
                     
                     
                        
                         S###FLG  | 
                     
                     
                        
                         1  | 
                     
                     
                        
                         F  | 
                     
                     
                        
                         System indicator (See description of standard SMF record header in the MVS System Management Facilities manual)  | 
                     
                  
| 
                        
                         5  | 
                     
                     
                        
                         S###RTY  | 
                     
                     
                        
                         1  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Record type, must be 126.  | 
                     
                  
| 
                        
                         6  | 
                     
                     
                        
                         S###TME  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         T  | 
                     
                     
                        
                         Time when the record was written  | 
                     
                  
| 
                        
                         10  | 
                     
                     
                        
                         S###DTE  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         D  | 
                     
                     
                        
                         Date when the record was written  | 
                     
                  
| 
                        
                         14  | 
                     
                     
                        
                         S###SID  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         System identification  | 
                     
                  
| 
                        
                         18  | 
                     
                     
                        
                         S###SSI  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         Subsystem ID  | 
                     
                  
| 
                        
                         22  | 
                     
                     
                        
                         S###STY  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Subtype  | 
                     
                  
| 
                        
                         24  | 
                     
                     
                        
                         S###LEN_IBM1  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Length of the remainder of this section, must be 32.  | 
                     
                  
| 
                        
                         26  | 
                     
                     
                        
                         S###VER_IBM1  | 
                     
                     
                        
                         1  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Extended header version, must be 1.  | 
                     
                  
| 
                        
                         27  | 
                     
                     
                        
                         S###FLG_IBM1  | 
                     
                     
                        
                         1  | 
                     
                     
                        
                         F  | 
                     
                     
                        
                         Flag byte  | 
                     
                  
| 
                        
                         28  | 
                     
                     
                        
                         S###TME_IBM1  | 
                     
                     
                        
                         16  | 
                     
                     
                        
                         S  | 
                     
                     
                        
                         Time token  | 
                     
                  
| 
                        
                         44  | 
                     
                     
                        
                         S###TZO_IBM1  | 
                     
                     
                        
                         8  | 
                     
                     
                        
                         ST  | 
                     
                     
                        
                         Time zone token (format: HH:MM:SS)  | 
                     
                  
| 
                        
                         52  | 
                     
                     
                        
                         S###RTY_IBM1  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         SMF record type (Record types 128..1151 are available for use outside of IBM)  | 
                     
                  
| 
                        
                         54  | 
                     
                     
                        
                         S###RES_IBM1  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         X  | 
                     
                     
                        
                         Reserved for future use  | 
                     
                  
The following table describes the BETA header.
These field descriptions (relative offsets) are also available in:
                  BETA97.SAMPLIB(§97S###R)
               
| 
                           
                            Offset  | 
                        
                        
                           
                            Name  | 
                        
                        
                           
                            Length  | 
                        
                        
                           
                            Format  | 
                        
                        
                           
                            Description  | 
                        
                     
|---|---|---|---|---|
| 
                        
                         0  | 
                     
                     
                        
                         S###PIDB  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         Beta product ID '97'  | 
                     
                  
| 
                        
                         2  | 
                     
                     
                        
                         S###PALVL  | 
                     
                     
                        
                         3  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         Adabas Audit Data Retrieval release level (currently '720')  | 
                     
                  
| 
                        
                         5  | 
                     
                     
                        
                         S###PJOBN  | 
                     
                     
                        
                         8  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         STC/JOBNAME  | 
                     
                  
| 
                        
                         13  | 
                     
                     
                        
                         S###PJOBI  | 
                     
                     
                        
                         8  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         STC/JOB JES-ID  | 
                     
                  
| 
                        
                         21  | 
                     
                     
                        
                         S###PTME  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         T  | 
                     
                     
                        
                         Start time of the job or STC  | 
                     
                  
| 
                        
                         25  | 
                     
                     
                        
                         S###PDTE  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         D  | 
                     
                     
                        
                         Start date of the job or STC  | 
                     
                  
| 
                        
                         29  | 
                     
                     
                        
                         S###PFLAG  | 
                     
                     
                        
                         1  | 
                     
                     
                        
                         F  | 
                     
                     
                        
                         Processing flag Bit Meaning when set 0 Internally used 1 Job correlator available (S###PFJCORR) 2 Extended IBM header V1 3..6 Reserved for future use 7 S###PJOBN is a batch job;  | 
                     
                  
| 
                        
                         30  | 
                     
                     
                        
                         S###BETA  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         Beta Systems identifier ('_BS_')  | 
                     
                  
| 
                        
                         34  | 
                     
                     
                        
                         S###BETASIGN  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         X  | 
                     
                     
                        
                         Beta Systems signature (X'DFFD')  | 
                     
                  
| 
                        
                         36  | 
                     
                     
                        
                         L###OJOBCORR  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Offset of job correlator section  | 
                     
                  
| 
                        
                         38  | 
                     
                     
                        
                         L###LJOBCORR  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Length of job correlator section  | 
                     
                  
| 
                        
                         40  | 
                     
                     
                        
                         L###CJOBCORR  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         B  | 
                     
                     
                        
                         Count of job correlator sections (always 1)  | 
                     
                  
| 
                        
                         42  | 
                     
                     
                        
                         S###SYSPLEX  | 
                     
                     
                        
                         8  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         Sysplex name (from the SYSPLEX parameter in the COUPLExx parmlib member)  | 
                     
                  
| 
                        
                         50  | 
                     
                     
                        
                         S###SYSNAME  | 
                     
                     
                        
                         8  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         System name (from the SYSNAME parameter in the IEASYSxx parmlib member)  | 
                     
                  
| 
                        
                         58  | 
                     
                     
                        
                         S###SYSCLONE  | 
                     
                     
                        
                         2  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         Sysclone name  | 
                     
                  
| 
                        
                         60  | 
                     
                     
                        
                         S###SMFID  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         SMF ID  | 
                     
                  
| 
                        
                         64  | 
                     
                     
                        
                         S###CPUID  | 
                     
                     
                        
                         8  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         CPU ID  | 
                     
                  
| 
                        
                         72  | 
                     
                     
                        
                         S###RES##  | 
                     
                     
                        
                         4  | 
                     
                     
                        
                         X  | 
                     
                     
                        
                         Reserved for future use  | 
                     
                  
Extended header data
This section contains the product job correlator information.
| 
                        
                         Offset:  | 
                     
                     
                        
                         L###OJOBCORR  | 
                     
                  |||||
| 
                        
                         Offset  | 
                     
                     
                        
                         Name  | 
                     
                     
                        
                         Length  | 
                     
                     
                        
                         Format  | 
                     
                     
                        
                         Description  | 
                     
                  ||
| 
                        
                         0  | 
                     
                     
                        
                         L###PSCORR  | 
                     
                     
                        
                         32  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         System value  | 
                     
                  ||
| 
                        
                         32  | 
                     
                     
                        
                         L###PUCORR  | 
                     
                     
                        
                         32  | 
                     
                     
                        
                         C  | 
                     
                     
                        
                         User-defined value  | 
                     
                  ||