Previous Topic: DESTINATION Statement UsageNext Topic: IDD Statement—Define Default Usage Mode


Example: DESTINATION Statements

Defining a Destination with Logical Terminals

The following statement creates destination ABC, which consists of four logical terminals:

ADD DESTINATION ABC
    LTERM (LTM001 LTM012 LTM041 LTM153).

Defining a Destination with Users

The following statement creates destination XYZ, which consists of four users:

ADD DESTINATION XYZ
    USER (WHH JPK HMS HAL).

Defining a Printer Destination

The following statement creates the printer destination PRT, which consists of the logical terminal PRTLT1:

ADD DESTINATION PRT
    PRINTER (PRTLT1).

Modifying a Destination

The following statement modifies destination XYZ by adding users ALK and RIL and deleting users HMS and HAL:

MODIFY DESTINATION XYZ
    USER (ALK, RIL)
    DELETE (HMS, HAL).

Deleting a Destination

To delete destination ABC from earlier example:

MOD DESTINATION ABC
 DEL (LTM001 LTM012 LTM041 LTM153).
GEN.
DELETE DESTINATION ABC.
GEN.