Using TMSGRW, how do I print the fields from the DSNB record?

Document ID : KB000027246
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How do I address the DSNB fields for a TMSGRW report?

Environment:

Any release of CA 1.

Answer:

TMSGRW maps a DSNB record into a volume record definition. You can print the DSNB fields by referencing the keywords for the volume record. The fields are mapped as follows:

With DSNB = FAST
Volume          DSNB
                BID             Not mapped
                ACTIND          Not mapped
FLAG1           FLAG1
LSTDSNB         CURDSNB
                PREV            Not mapped
1STDSNB         NEXT        
VOLSER          VOLSER
                F1STVSN         Not mapped
NUMDSNB         FILSEQ
DSN             DSN
EXPDT or E      EXPDT
CDATE or C      CDATE
CTIME           CTIME
CJOB  or J      CJOB
CSTEP           CSTEP
LRECL           LRECL
BLKSIZE         BLKSIZE
BLKCNT          BLKCNT
RECFM           RECFM
BATCHID         BATCHID
HOOKID          HOOKID
AUDATE          AUDATE
AUTIME          AUTIME
USERID          USERID
CPUID           CPUID
AUCODE          AUCODE
AUFLAG1         AUFLAG1
  
  
With DSNB = YES
Volume          DSNB
                BID             Not mapped
                ACTIND          Not mapped
FLAG1           FLAG1
LSTDSNB         CURDSNB
                 PREV           Not mapped
1STDSNB          NEXT        
                 VOLSER         Not mapped
VOLSER           F1STVSN         
NUMDSNB          FILSEQ
DSN              DSN
EXPDT or E       EXPDT
CDATE or C       CDATE
CTIME            CTIME
CJOB  or J       CJOB
CSTEP            CSTEP
LRECL            LRECL
BLKSIZE          BLKSIZE
BLKCNT           BLKCNT
RECFM            RECFM
BATCHID          BATCHID
HOOKID           HOOKID
AUDATE           AUDATE
AUTIME           AUTIME
USERID           USERID
CPUID            CPUID
AUCODE           AUCODE
AUFLAG1          AUFLAG1