Troubleshooting
Problem
When doing a DSPTAP TYPE(*LABELS) OUTPUT(*OUTFILE), the creation date and expiration dates are not listed.
Resolving The Problem
When running the DSPTAP TYPE(*LABELS) OUTPUT(*PRINT) command, the creation date and expiration dates are listed.
However, when running the DSPTAP TYPE(*LABELS) OUTPUT(*OUTFILE) command, the creation date and expiration dates are not listed.
The fields in the file created are:
The creation and expiration date are in the RDTRL1 field. The dates are in a format CYYJJJ, where C is a century guard digit, YY is the last two digits of the year, and JJJ is the Julian date. Therefore, January 1, 1999 is " 99001", and January 1, 2000 is "100001".
Example
Label
1
The creation date is July 10, 2006, and the expiration date is *PERM.
5722SS1 V5R3M0 040528 TAPE VOLUME INFORMATION 686AAQ RCHASSQ3 8/18/06 17:20:14 Page 1
Device . . . . . : MLB3592 Volume . . . . . : 686AAQ Cartridge ID . . : 686AAQ
Owner ID . . . . : Density . . . . : *FMT3592A1
Type . . . . . . : *SL Code . . . . . . : *EBCDIC
Record System
File Block Recg Record Block File MvolMvol Date Expiration Where
DataFileLabel Sequence Format Tech Length Length Length Ind Sequence Created Date Created
QDOC 0000000001 *U P 00000 262144 0000004466 0000000001 07/10/06 *PERM IBMOS400
QDOC 0000000002 *U P 00000 262144 0000000068 0000000001 07/10/06 *PERM IBMOS400However, when running the DSPTAP TYPE(*LABELS) OUTPUT(*OUTFILE) command, the creation date and expiration dates are not listed.
The fields in the file created are:
| Field | File | Text |
| RDSYSN | DSPTAP1 | System name |
| RDDTTM | DSPTAP1 | System date/time - CYYMMDDH |
| RDRECT | DSPTAP1 | Record type: 1=*LABELS |
| RDDEVN | DSPTAP1 | Device name |
| RDCTGI | DSPTAP1 | Cartridge ID |
| RDVOLL | DSPTAP1 | Volume label |
| RDDENS | DSPTAP1 | Density |
| RDCODE | DSPTAP1 | Code: 0=*EBCDIC, 1=*ASCII |
| RDTRL1 | DSPTAP1 | Label 1 label |
| RDTRL2 | DSPTAP1 | Label 2 label |
| RDLBID | DSPTAP1 | Logical block ID |
| RDSLT | DSPTAP1 | *SL: 0=No, 1=Yes |
| RDLTM | DSPTAP1 | *LTM: 0=No, 1=Yes |
| RDLFSQ | DSPTAP1 | Sequence number |
| RDLASQ | DSPTAP1 | Multi-volume sequence number |
| RDFILT | DSPTAP1 | S/36 File type |
The creation and expiration date are in the RDTRL1 field. The dates are in a format CYYJJJ, where C is a century guard digit, YY is the last two digits of the year, and JJJ is the Julian date. Therefore, January 1, 1999 is " 99001", and January 1, 2000 is "100001".
Example
Label
1
label EOF1QDOC 686AAQ00010001000100006191 999990004466IBMOS400
EOF1QDOC 686AAQ00010002000100006191 999990000068IBMOS400 The creation date is July 10, 2006, and the expiration date is *PERM.
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CGbAAM","label":"General Information"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Historical Number
424296155
Was this topic helpful?
Document Information
Modified date:
15 August 2022
UID
nas8N1014813