Information Captured in the FOCLOG File
The FOCLOG file is a fixed-format physical sequential file. FOCLOG is distributed with a Master File that describes the FOCLOG file and enables you to report from it.
The Master File has four segments:
- The session segment provides information specific to a user session.
- The command segment provides information about FOCUS commands issued during a user session.
- The master segment provides Master File names, file types, and the ID of the sink machine on which each Master File resides.
- The data set name segment provides names and locations of data sets used during a user session.
Session Segment Information
Command Segment Information
Master Segment Information
|
Field Name |
Description |
|---|---|
RECTYPE |
Master segment record type (MASS) (format A4) |
FNAME |
Master File name (format A8) |
SUFF |
File suffix (such as FOC or FIX) (format A8) |
SINKID |
Sink identifier (if SU used, otherwise blank) (format A8) |
MASTERDSN |
Master File library name - populated in long log format only. (Format A44) |
ACCESSDSN |
Access File library name - populated in long log format only. (Format A44). For information about capturing ACCESSDSN, see Information Captured in the FOCLOG File. |
FILE_TYPE |
DEFINE: Translates SUFF into a more understandable name (format A8) |
ADAPT_FOCUS |
DEFINE: FOCUS access count (I9) |
ADAPT_FIXED |
DEFINE: fixed file access count (I9) |
ADAPT_VSAM |
DEFINE: VSAM file access count (I9) |
ADAPT_ORACLE |
DEFINE: Oracle file access count (I9) |
ADAPT_IMS |
DEFINE: IMS file access count (I9) |
ADAPT_IDMS |
DEFINE: IDMS file access count (I9) |
ADAPT_TOTAL |
DEFINE: Total file access count (I9) |
ADAPT_DATACOM |
DEFINE: Datacom file access count (I9) |
ADAPT_ADABAS |
DEFINE: Adabas file access count (I9) |
ADAPT_DB2 |
DEFINE: Db2 file access count (I9) |
ADAPT_SUPRA |
DEFINE: Supra file access count (I9) |
ADAPT_TERAD |
DEFINE: Teradata file access count (I9) |
ADAPT_NOMAD |
DEFINE: Nomad file access count (I9) |
ADAPT_S2K |
DEFINE: S2K file access count (I9) |
ADAPT_MILL |
DEFINE: Millennium file access count (I9) |
ADAPT_M204 |
DEFINE: Model 204 file access count (I9) |
Capturing the Access File Data Set Name
If you are using an Access File DDNAME other than ACCESS, you may be able to allocate those data sets to DDNAME ACCESS instead, to capture the Access File data set names in the log file.
Data Set Segment Information
|
Field Name |
Description |
|---|---|
RECTYPE |
Data set name record type (DSNS) (format A4) |
DDNAME |
z/OS DDNAME (format A8) |
DSNAME |
Data set name (format A44) |
IDDEXCP - name change |
EXCPs for ddname (format A7) |
DSNORD |
Order number of concatenation (format A3) |
DEVFLAG |
Flag - 'Y' if possible missing EXCPs (format A1) |
DSNTEMP |
Flag - 'Y' if dsn is a temp file (format A1) |
DDEXCP |
DEFINE: numeric IDDEXCP (format D15) |
Master File Structure Diagram
The following diagram shows the structure of the FOCLOG Master File and the relationships between its segments. It lists the first four fields in each segment.
NUMBER OF ERRORS= 0
NUMBER OF SEGMENTS= 4 ( REAL= 4 VIRTUAL= 0 )
NUMBER OF FIELDS= 55 INDEXES= 0 FILES= 1
NUMBER OF DEFINES= 7
TOTAL LENGTH OF ALL FIELDS= 509
SECTION 01
STRUCTURE OF FIX FILE FOCLOG ON 05/07/04 AT 13.23.43
SESS
01 S0
**************
*RECTYPE **
*STARTDT **
*MICROSEC **
*SESSTART **
* **
***************
**************
I
+-----------------+
I I
I CMD I DSN
02 I N 04 I N
************** **************
*RECTYPE ** *RECTYPE **
*COMMAND ** *DDNAME **
*FOCEXEC ** *DSNAME **
*LINENUM ** *DDEXCP **
* ** * **
*************** ***************
************** **************
I
I
I
I MAS
03 I N
**************
*RECTYPE **
*FNAME **
*SUFF **
*SINKID **
* **
***************
**************