Previous Topic: FieldsNext Topic: Selection Codes


Input Commands

The following input commands are available on the Reports for Distid panels:

CANCEL

Terminates the current display and displays the previous panel; input data is not saved.

Valid entries are CAN and CANCEL.

COPYLIST

Displays a copylist subpanel from which you can choose from available lists of report IDs to copy without reentering existing information.

FIND

Scans columnar data for a string of characters, then scrolls to and displays the entry at the top of the panel

The syntax of the FIND command is as follows:

FIND string column [ FIRST | NEXT | LAST | PREV ] NOT

You can enter the FIND command as F.

The string specification identifies the search data. The string is matched against data starting in the first character of the search column.

The FIND command does not locate data that is embedded within the column.

If the string contains special characters, enclose the string within quotation marks.

The column name specification identifies the field that is to be searched. If omitted, the report identifier (REPORT) field is searched. The following columns can be searched:

REPORT

Report identifier.

You can enter REPORT as RID or R. If a column name is not specified, REPORT is assumed.

OUT

Output indicator.

DEST

Report destination.

WRITER

External writer

You can enter WRITER as WTR.

DAYS

Distribution days.

COPIES

Output copies.

RVIEW

CA View logical view restriction indicator.

REPRT

CA View reprint restriction.

DEL

CA View delete restriction.

The location specification identifies the origin and direction of the search. If omitted, the search begins with the row at the top of the current display. The location specifications are as follows:

FIRST

Starts the search at the beginning of the table and proceeds forward to the end of the table.

NEXT

Starts the search after the row that appears at the top of the current display and proceeds forward to the end of the table.

LAST

Starts the search at the end of the table and proceeds backward to the beginning of the table.

PREV

Starts the search before the row that appears at the top of the current display and proceeds backward to the beginning of the table.

The NOT specification indicates that the column is to be searched for data that is not equal to the string specified on the FIND command.

Note: For more information about the FIND command, see Input Commands in the chapter "Basics."

LEFT

Toggles between the two active displays.

RFIND

Locates the next occurrence of a previously issued FIND command.

If another occurrence is not found, a not‑found message displays. Typically, PF5 and PF17 are defined as the RFIND key.

RIGHT

Toggles between the two active displays.

SORT

Sorts the display by report identifier, in ascending sequence.