Command information entries

 

This table describes the format of the command output for the SAV and RST commands.

Command information entries are output in the format described in the table below. The entry type value in the header determines if the entry associated with the header is a command information entry.

The system associates a coded character set identifier (CCSID) with all data. This association is maintained across all save and restore operations.

For each field, an offset is specified in bytes. This offset is relative to the base address of the entry, or the beginning of the first field in the entry header.

Offset (bytes) Decimal
Table 1. Command information entry output–SAV and RST commands
Type (in bytes) Set in1 Field
Hex
0 0 BINARY(8) S/R See the table in Entry header information for more format details.
8 8 BINARY(4) S/R Device name offset 2
12 C BINARY(4) S/R File label offset 3
16 10 BINARY(4) S/R Sequence number
20 14 BINARY(4) S/R Save active
24 18 BINARY(4) S/R CCSID of data
28 1C BINARY(4) S/R Number of records
32 20 CHAR(10) S/R Command
42 2A CHAR(10) S/R Expiration date
52 34 CHAR(8) S/R Save date/time
60 3C CHAR(10) S/R Start change date
70 46 CHAR(10) S/R Start change time
80 50 CHAR(10) S/R End change date
90 5A CHAR(10) S/R End change time
100 64 CHAR(6) S/R Save release level
106 6A CHAR(6) S/R Target release level
112 70 CHAR(1) S/R Information type
113 71 CHAR(1) S/R Data compressed
114 72 CHAR(1) S/R Data compacted
115 73 CHAR(8) S/R Save System serial number
123 7B CHAR(8) R Restore date/time
131 83 CHAR(6) R Restore release level
137 89 CHAR(8) R Restore system serial number
145 91 CHAR(10) S/R Save active option

1.

Set by column. The following column values indicate which operations write the content of the field into the output:

Value Condition
S Save operation set this field.
R Restore operation set this field.
S/R Either operation set this field.
(blank) Not set by either operation. The associated field is set to zero for numeric fields, blank for character fields, or empty for variable-length character fields.
2.

Format of device name. You can find the first entry using the Device name offset field to get to the Number of device name field. The Number of device names field is not repeated.

BINARY(4) (blank) Number of device identifiers

Then, moving to the first device identifier. Each device identifier consists of a length followed by its name. The device name fields are repeated for each device identifier.

BINARY(4) S/R Device name length
CHAR(*) S/R Device name
3.

Format of file label. You can find the start of the file label using the File label offset field. The file label fields are not repeated.

BINARY(4) S/R File label length
CHAR(*) S/R File label

 

Parent topic:

Interpreting output from save (SAV) and restore (RST)