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.

Figure 1. Syntax - Disk Browse, Disk Track Edit and VSAM Update

1 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.

Figure 2. Syntax - View and Edit

1 RD
1! current_rec
1 n_recs
1 MAX
1 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

Related tasks and examples