bdfu1m1mUtilities

ZUDFM OAS-Display File Information during Tracing

Use this command to display information during a trace.

Requirements and Restrictions

Format




Note:
You can use either the ZUDFM OAS or the ZUDFM TRACE command.

W
specifies information in the SW00SR slot. When used with another parameter, W specifies the core address of the SW00SR slot that is currently being processed.

D
specifies information in the subfile data block. When used with another parameter, D specifies the core address of the subfile data block that is currently being processed.

refnum
is a subfile using a reference number from 1 to 99 of a SW00SR slot. The reference number is displayed using the ZUDFM OAS command.
Note:
Do not specify this parameter if you opened the file by using the DBOPN macro with the FILE and PARAM parameters specified.

R3
specifies register 3, which contains the core address of the SW00SR slot that is currently being processed.

regdispl
is a register value followed by a displacement value. You can specify one of the following register values:

The displacement value is a 3-character numeric value.

dbifbaddr
is the database interface block (DBIFB) address of the SW00SR slot that specifies a file or subfile.

refname
is the file ID or the file name of a subfile that has been opened.
Note:
Do not specify this parameter if you opened the file using the DBOPN macro with the FILE and PARAM parameters.

EBW
specifies EBW work area 1, located in the entry contol block (ECB).

EBX
specifies EBX work area 2, located in the ECB.

fieldnum
is a 3-digit ECB application work area number that contains a SW00SR slot address.

OPS
displays the bit settings of option fields.

LBL
displays the subfile with the DSECT label information.
Note:
When using this parameter, you must build a macro label set using the macro label set (MLS) support.

*
displays the subfile without DSECT label information.

Additional Information

Examples

The following example uses the command format.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS                                                               |
|                                                                                |
|System: UDFM0521I            CURRENTLY PENDING FILES                            |
|                                                                                |
|        NR.   FILE NAME  SW00-BASE  LEV   ID    REF NAME                        |
|        --------------------------------------------------------                |
|        0001  06-GR91SR  038A5D30    A   FDEE   G R 9 1 S R                     |
|        0002  06-GR95SR  038A5A18    B   FD05   G R 9 5 S R                     |
+--------------------------------------------------------------------------------+

 NR. 
The reference number of this subfile in the DBIFB.

 FILE NAME 
The file name.

 SW00-BASE 
The storage address of the base of the SW00SR slot.

 LEV 
The ECB data level of the TPFDF subfile.

 ID 
The file ID.

 REF NAME 
The 6- or 8-character reference name.

The following example displays the first subfile in the database interface block and lists the LRECs in the subfile.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/D/1                                                           |
|                                                                                |
|System: SSTR - TPFDF COREADDR 0372E460   FILENAME..06-GR92SR                    |
|                                                                                |
|        RECORD CONTENT AND CURRENT POINTER *---*                                |
|                                                                                |
|        0001  001A  0372E47A   001C8000 6195 053  K E V I  N404040              |
|                               40404040 40404040 40404040                       |
|        0002  0036  0372E496   001C8000 6196 0EB  L A U R  A404040              |
|                               40404040 40404040 40404040                       |
|        0003  0052  0372E4B2   001C8000 6197 00B  T O M40 40404040              |
|                               40404040 40404040 40404040                       |
|        0004  006E  0372E4CE   001C8000 6198 003  J O H N 40404040              |
|                               40404040 40404040 40404040                       |
|        0005  008A  0372E4EA   001C8000 6199 09F  D A N40 40404040              |
|                               40404040 40404040 40404040                       |
|        0006  00A6  0372E506   001C8000 619A 03B  R O B40 40404040              |
|                               40404040 40404040 40404040                       |
+--------------------------------------------------------------------------------+

The following example displays information for two parameter keys of the first SW00SR slot in the database interface block.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/W/1                                                           |
|                                                                                |
|System: UDFM0520I           SW00SR BASE 0047FCE0    FILENAME..06-GR32SR         |
|                                                                                |
|        MEANING                   LABEL     CONTENT                             |
|        --------------------------------------------------------                |
|        PROGRAM STAMP             SW00PGM   U T N C                             |
|        FILE IDENTIFIER           SW00WID   FDFD                                |
|        ACTUAL TPFDF COMMAND      SW00CMD   READ                                |
|        AT PROGRAM LOCATION       SW00PL2   00C25122   UTNC 0122                |
|        ERROR 1                   SW00RTN   00                                  |
|        ERROR 2                   SW00RT2   00                                  |
|        ERR COUNT SINCE OPEN      SW00RT1   00                                  |
|        CURRENT FILE ADDRESS      SW00CFA   16180003                            |
|        CURRENT CORE ADDRESS      SW00CCA   004B2BE0                            |
|        CURRENT NAB               SW00NAB   001A                                |
|        CURRENT LREC CORE ADDR.   SW00REC   004B2BFA                            |
|        NEWLREC ADR FOR ADD/INS   SW00IPT   00000000                            |
|        CURRENT DATA LEVEL        SW00LVL   50   LEVEL 10                       |
|        CURRENT PARAM LEVEL       SW00SLV   FF   DYNAMIC PARAM ALLOC.           |
|        PRIME FILE ADDRESS        SW00FAD   16180003                            |
|        PRIME CORE ADDRESS        SW00PCA   004B2BE0                            |
|        LAST CHAIN ADDRESS        SW00LCH   00000000                            |
|        LAST MATCH. LREC F.A.     SW00PAD   00000000                            |
|        LAST MACH. LREC NAB       SW00PNB   0000                                |
|        RETRIEVAL ALGORITHM       SW00ALG   00000000000000000000                |
|                                            00000000000000000000                |
|        SPACE WORKAREA ADDRESS    SW00WKA   00000000                            |
|        EXTENDED KEY AREA         SW00KEY   00000000                            |
|        KEY INDICATORS            SW00NKY   A0                                  |
|        KEY INSTRUCTIONS          KEY   1   CLI  95804002                       |
|                                            BC   474E0004                       |
|                                            BC   477E0018                       |
|                                  KEY   2   L    586030E0 *00403390             |
|                                            CLC  D50040036000                   |
|                                            BC   474E0004                       |
|                                            BC   477E0018                       |
|                                            BC   47FE0030                       |
+--------------------------------------------------------------------------------+

The following example displays information for the key list of the first SW00SR slot in the database interface block.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/W/1                                                           |
|                                                                                |
|System: UDFM0520I           SW00SR BASE 0047FCE0    FILENAME..06-GR32SR         |
|        MEANING                   LABEL     CONTENT                             |
|        --------------------------------------------------------                |
|        PROGRAM STAMP             SW00PGM   U T N C                             |
|        FILE IDENTIFIER           SW00WID   FDFD                                |
|        ACTUAL TPFDF COMMAND      SW00CMD   KEY                                 |
|        AT PROGRAM LOCATION       SW00PL2   00C2515E   UTNC 015E                |
|        ERROR 1                   SW00RTN   00                                  |
|        ERROR 2                   SW00RT2   00                                  |
|        ERR COUNT SINCE OPEN      SW00RT1   00                                  |
|        CURRENT FILE ADDRESS      SW00CFA   16180003                            |
|        CURRENT CORE ADDRESS      SW00CCA   004B2BE0                            |
|        CURRENT NAB               SW00NAB   001A                                |
|        CURRENT LREC CORE ADDR.   SW00REC   004B2BFA                            |
|        NEWLREC ADR FOR ADD/INS   SW00IPT   00000000                            |
|        CURRENT DATA LEVEL        SW00LVL   50   LEVEL 10                       |
|        CURRENT PARAM LEVEL       SW00SLV   FF   DYNAMIC PARAM ALLOC.           |
|        PRIME FILE ADDRESS        SW00FAD   16180003                            |
|        PRIME CORE ADDRESS        SW00PCA   004B2BE0                            |
|        LAST CHAIN ADDRESS        SW00LCH   00000000                            |
|        LAST MATCH. LREC F.A.     SW00PAD   00000000                            |
|        LAST MACH. LREC NAB       SW00PNB   0000                                |
|        RETRIEVAL ALGORITHM       SW00ALG   00000000000000000000                |
|                                            00000000000000000000                |
|        SPACE WORKAREA ADDRESS    SW00WKA   00000000                            |
|        EXTENDED KEY AREA         SW00KEY   004B9000                            |
|        KEY INDICATORS            SW00NKY   B0                                  |
|        KEY INSTRUCTIONS          KEY   1   CLI  95804002                       |
|                                            BC   474E0004                       |
|                                            BC   477E0018                       |
|                                  KEY   2   L    58610CF4 *00403390             |
|                                            CLC  D50040036000                   |
|                                            BC   474E0004                       |
|                                            BC   477E0018                       |
|                                            BC   47F0E030                       |
+--------------------------------------------------------------------------------+

The following example displays the SW00FAD field in the SW00SR slot of the first subfile opened during the trace. The display shows the address of the SW00SR base and the name of the subfile, followed by the label of the field, its displacement from the SW00SR base in bytes, its address in main storage (COREADDR), and its data content.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/W/1/FAD                                                       |
|                                                                                |
|System: UDFM0520I           SW00SR BASE 0372DD30    FILENAME..06-GR91SR         |
|                                                                                |
|             LABEL        DISP   COREADDR  CONTENT                              |
|             --------------------------------------                             |
|                                                                                |
|             SW00FAD      0044   00357EAC  0098065B                             |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays the option fields (OPS) for the second subfile opened during the trace and the indicator bit settings of the second SW00SR slot.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/W/2/OPS                                                       |
|                                                                                |
|System: UDFM0472I           SPECIAL OPTIONS DISPLAY FILENAME..06-GR95SR         |
|        LABEL     OPTION *BIT ON*                                               |
|        --------------------------------------------------------                |
|        SW00OP1   BIT6 *OFF* PACK ONLY AFTER DELETE                             |
|        SW00OP2   BIT4 *OFF* FIWHC FOR PRIME BLOCK                              |
|                  BIT5 FINWC IF HOLD/CH.                                        |
|                  BIT6 DB010C-IF NO HOLD                                        |
|        SW00ID1   BIT4 NEXT OPTION                                              |
|        SW00ID3   BIT6 ALG WAS GIVEN                                            |
|        SW00ID4   BIT7 *OFF* HOLD                                               |
|        SW00ID6   BIT7 FILE IS OPEN                                             |
|        SW00IDB   BIT0 READ INDEX                                               |
+--------------------------------------------------------------------------------+

The following example displays the first subfile opened during tracing and data in the current LREC, together with DSECT labels identifying each field.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/D/1/LBL                                                       |
|                                                                                |
|System: SSTR - TPFDF COREADDR 00353040   FILENAME..06-GR32SR                    |
|                                                                                |
|        NBR   LABEL   DIS  LEN   COREADDR  CONTENT                              |
|        ----  ------- ---- ----  --------  --------------------                 |
|        F.A. 0098065B 001A                                                      |
|        0001  GR32SIZ 0000 0002  0035305A  000B                                 |
|              GR32KEY 0002 0001  0035305C  80                                   |
|              GR32APL 0003 0001  0035305D   A                                   |
|              GR32TYP 0004 0001  0035305E   B                                   |
|              GR32PRI 0005 0001  0035305F   0                                   |
|              GR32IND 0006 0001  00353060  00                                   |
|              GR32IDF 0007 0002  00353061  C00A                                 |
+--------------------------------------------------------------------------------+

The following example displays the SW00SR slot information of the subfile that is currently being processed.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/W/R3                                                          |
|                                                                                |
|System: UDFM0520I           SW00SR BASE 0372D3E8    FILENAME..06-GR92SR         |
|                                                                                |
|        MEANING                   LABEL     CONTENT                             |
|        --------------------------------------------------------                |
|        PROGRAM STAMP             SW00PGM   Q T 1 9                             |
|        FILE IDENTIFIER           SW00WID   FDED                                |
|        ACTUAL TPFDF COMMAND      SW00CMD   READ                                |
|        AT PROGRAM LOCATION       SW00PL2   7F46B9E4   UF0C 0894                |
|        ERROR 1                   SW00RTN   00                                  |
|        ERROR 2                   SW00RT2   00                                  |
|        ERR COUNT SINCE OPEN      SW00RT1   00                                  |
|        CURRENT FILE ADDRESS      SW00CFA   00001042                            |
|        CURRENT CORE ADDRESS      SW00CCA   0372E460                            |
|        CURRENT NAB               SW00NAB   014E                                |
|        CURRENT LREC CORE ADDR.   SW00REC   00000000                            |
|        NEWLREC ADR FOR ADD/INS   SW00IPT   00000000                            |
|        CURRENT DATA LEVEL        SW00LVL   48   LEVEL 09                       |
|        CURRENT PARAM LEVEL       SW00SLV   FF   DYNAMIC PARAM ALLOC.           |
|        PRIME FILE ADDRESS        SW00FAD   00001042                            |
|        PRIME CORE ADDRESS        SW00PCA   0372E460                            |
|        LAST CHAIN ADDRESS        SW00LCH   00000000                            |
|        LAST MATCH. LREC F.A.     SW00PAD   00000000                            |
|        LAST MACH. LREC NAB       SW00PNB   0000                                |
|        RETRIEVAL ALGORITHM       SW00ALG   0372D715000000000000                |
|                                            00000000000000000000                |
|        SPACE WORKAREA ADDRESS    SW00WKA   00000000                            |
|        EXTENDED KEY AREA         SW00KEY   00000000                            |
|        KEY INDICATORS            SW00NKY   A0                                  |
|        KEY INSTRUCTIONS          KEY   1   CLI  95804002                       |
|                                            BC   474E0004                       |
|                                            BC   477E0018                       |
|                                  KEY   2   L    586030DC *0372D715             |
|                                            CLC  D51340086000                   |
|                                            BC   474E0004                       |
|                                            BC   477E0018                       |
|                                            BC   47FE0030                       |
+--------------------------------------------------------------------------------+

The following example displays the current LREC (SW00REC) of the subfile that is currently being processed. The display information varies depending on the subfile to which you are linked.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAS/D/R3                                                          |
|                                                                                |
|System: SSTR - TPFDF COREADDR 0372E460   FILENAME..06-GR92SR                    |
|                                                                                |
|        RECORD CONTENT AND CURRENT POINTER *---*                                |
|                                                                                |
|        0001  001A  0372E47A   001C8000 6195 053  K E V I  N404040              |
|                               40404040 40404040 40404040                       |
|        0002  0036  0372E496   001C8000 6196 0EB  L A U R  A404040              |
|                               40404040 40404040 40404040                       |
|        0003  0052  0372E4B2   001C8000 6197 00B  T O M40 40404040              |
|                               40404040 40404040 40404040                       |
|        0004  006E  0372E4CE   001C8000 6198 003  J O H N 40404040              |
|                               40404040 40404040 40404040                       |
|        0005  008A  0372E4EA   001C8000 6199 09F  D A N40 40404040              |
|                               40404040 40404040 40404040                       |
|        0006  00A6  0372E506   001C8000 619A 03B  R O B40 40404040              |
|                               40404040 40404040 40404040                       |
+--------------------------------------------------------------------------------+

References

See ZUDFM OAT-Load Macro Label Set for more information about MLS.