RP primary command
The RP (“Record Print”) command prints the current record. The format of the output from the RP command depends on the display format when you enter the RP command.
Syntax
RP command in Disk Browse, Disk Track Edit or VSAM Update
RP command in View or Edit
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.
- 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,
displayedrecords are those records that are currently displayable, given the settings of the Show and Shadow commands. This includes shadow lines, that is, the
substituterecords 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
- Browse panel
- Editor panel
- Disk Browse panel
- Disk Track Edit panel
- VSAM Update panel