Previous Topic: FieldsNext Topic: Selection Codes


Input Commands

The following input commands are available on the Report Selection List panels:

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.

LEFT

Toggles between the two active displays.

LOCATE

Scrolls to the entry whose name you specify as the operand of the command; if the specified name is not in the list, scrolls to the entry whose name immediately precedes that specified.

For sorted lists, the LOCATE command traverses the list based on the first or only sort field.

Valid entries are L, LOC, and LOCATE.

REDISP

Redisplays (or refreshes) a selection list with current information

Because definition and active data can be concurrently updated and added by the started task, batch jobs, and online users, data displayed on a selection list can become outdated. Recent changes and newly added data are obtained when the REDISP command is entered.

The syntax of the REDISP command is as follows:

REDISP [ ON | OFF ]

Where:

ON

Indicates that the display is to be refreshed automatically when the Enter key is pressed

OFF

Indicates that the REDISP command must be entered to refresh the display

The ON and OFF parameters are temporary overrides to the REDISP initialization parameter setting and are only retained for the duration of the session.

If the ON/OFF parameter is omitted, the display is refreshed without altering the current ON/OFF state.

For sorted lists, enter the REDISP command to refresh the display.

Valid entries are RED, REDISP, REF, and REFRESH.

RIGHT

Toggles between the two active displays.

SELECT

Selects the report identifier you specify as the operand of the command for display

If the specified report identifier does not exist, an error message displays.

Valid entries are S, SEL, and SELECT.

SORT

Sorts the selection list display by report identifier, date/time entry was last changed, user who last changed entry, or description.

Up to two fields can be sorted.

The syntax of the SORT command is as follows:

SORT field1 field2

The following table identifies the field names that can be referenced on the SORT command and the predefined sort sequence used to order the data.

Report

Sorts by report identifier.

You can enter REPORT as RID or R.

Sort Sequence: Ascending

Changed

Sorts by date/time last changed.

You can enter CHANGED as CHA or C.

Sort Sequence: Descending

User

Sorts by user/job that last changed entry.

You can enter USER as U.

Sort Sequence: Ascending

Desc

Sorts by description.

Sort Sequence: Ascending

To sort the selection list by description, enter the command:

sort desc

To sort the selection list by user who last changed entry and date/time entry was last changed, enter the command:

sort user cha    

After the list is sorted, you can use the LOCATE command to traverse the list based on the first or only sort field. For example, if the list is sorted by description, LOCATE PROD scrolls the list to the entry or closest entry whose description is PROD.

If the SORT command is entered by itself without a field, the standard dynamic list, which is sequenced by report identifier, displays.

X

Displays the Distribution Xref for Report panel.