Previous Topic: FieldsNext Topic: Selection Codes


Input Commands

The following input commands are available on the Distribution List panels:

CANCEL

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

Valid entries are CAN and CANCEL.

CONFIRM

Enables or disables the display of the Confirm Delete panel when definition data is to be deleted using the D selection code. The default is ON. Confirmation is automatically enabled when a new command is entered on the Primary Selection Menu panel.

The syntax of the CONFIRM command is as follows:

CONFIRM  [ ON | OFF ]

Where:

ON

Indicates to enable the Confirm Delete panel. No subsequent delete requests are processed without requesting user confirmation.

OFF

Indicates to disable the Confirm Delete panel. All subsequent delete requests are processed without requesting user confirmation.

COPY

Copies the distribution specifications from another distribution identifier or report identifier

The syntax of the command is as follows:

COPY id [ REPORT ]

Where:

id

Specifies the distribution list or report identifier from which the specifications are to be copied

REPORT

Indicates that the distribution specifications are being copied from a report definition

You can enter REPORT as RID or R.

If omitted, the distribution specifications are copied from a distribution list.

Specify the A or B selection code to identify the destination of the copy.

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 distribution identifier (DISTID) column is searched.

The following columns can be searched:

DISTID

Defines the Distribution Identifier

If a column name is not specified, DISTID is assumed.

You can enter DISTID as DID or D.

GROUP

Defines the Group indicator

You can enter GROUP as GRP.

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 distribution specifications by distribution identifier.

The distribution identifiers are sorted in ascending sequence. If distribution identifiers are grouped, the group is sorted first and then merged into the list based on the first distribution identifier in the group.

Note: The list is saved in the new sequence after sorting. If this sequence is not what you want, enter the CANCEL command to ignore the changes.