Previous Topic: LTERM Statement UsageNext Topic: Device Definitions


Example: LTERM Statement

Defining a Logical Terminal for a Printer

The following statement directs the system generation compiler to add logical terminal LT02 to the data dictionary and associate it with physical terminal PR02:

ADD LTERM LT02
    PRINTER CLASS (5 18 11 63) CHECKPOINT 100
    BANNER
    PRIORITY IS 15
    PTERM IS PR02.

Defining a Logical Terminal for an Interactive Device

The following statement directs the system generation compiler to add logical terminal LT01 to the data dictionary and associate it with physical terminal PR01:

ADD LTERM LT01
    AUTOTASK IS NULL
    ENABLED
    PRIORITY IS 0
    PTERM IS PR01.

Modifying a Logical Terminal

The following statement modifies logical terminal LT01 by changing its priority to 35:

MODIFY LTERM LT01
       PRIORITY IS 35.

Deleting a Logical Terminal

The following statement deletes logical terminal LT01:

DELETE LTERM LT01.

For more information about DCMT commands, see the CA IDMS System Tasks and Operator Commands Guide.