Previous Topic: Using Terminal AutotasksNext Topic: Signon and Signoff Functions for an Autotask


Associating an Autotask with Selected Logical Terminals

Associating an Autotask with a Logical Terminal

You associate an autotask with a logical terminal using the AUTOTASK parameter of the system generation LTERM statement. This statement allows you to specify whether a task will be initiated automatically for the logical terminal:

Example

To associate LTERM LT12012 with the task code ORDERS, submit this information to the system generation compiler:

ADD LTERM LT12012 VERSION 1
  AUTOTASK IS ORDERS
  ENABLED
  PRIORITY IS 0
  PTERM IS PT12012.