RD primary command

The RD primary command prints the current record.

Syntax

RD command in Disk Browse, Disk Track Edit and VSAM Update

In these panels, the RD (“Record Dump”) command prints the current record in dump format, with hexadecimal values under the record data.

Read syntax diagramSkip visual syntax diagram
Syntax - Disk Browse, Disk Track Edit and VSAM Update

>>-RD----------------------------------------------------------><

RD command in View and Edit

When you are in the View and Edit panels and you are using SNGL or TABL display format, the RD command is identical to the RP command. For details, see RP primary command.

In other display formats, the RD (“Record Dump”) command prints the current record in dump format, with hexadecimal values under the record data.

When issued from the View or Edit panel, additional parameters allow you to print a specified number of records, from the current record to the end of the data, or all displayed records.

Read syntax diagramSkip visual syntax diagram
Syntax - View and Edit

       .-current_rec-.   
>>-RD--+-------------+-----------------------------------------><
       +-n_recs------+   
       +-MAX---------+   
       '-ALL---------'   

current_rec
The current record is the record in which your cursor is positioned within the data area. If your cursor is not in a record, the current record is the topmost record displayed in the data area.
n_recs
Prints the next n displayed records, starting from the current record.
MAX
Prints all remaining displayed records, from the current record to the end of the data set or member.
ALL
Prints all displayed records in the data set or member.
Note: In this context, "displayed" records are those records that are currently displayable, given the settings of the Show and Shadow commands. This includes shadow lines, that is, the "substitute" records that are displayed in place of one or more records that are suppressed, excluded or not selected. For the sake of the n count, a shadow line is counted as one record, even if it represents a number of suppressed, excluded or not selected records.

Availability