Previous Topic: Associating an Autotask with Selected Logical TerminalsNext Topic: Associating Terminals with Devices


Signon and Signoff Functions for an Autotask

Forcing Signon Through a Terminal Autotask

If you are using a site-specific signon menu to force a signon and you want users to see the ENTER NEXT TASK CODE prompt after they sign on to the CA IDMS system:

Note: For more information about the LTE (#LTEDS DSECT), see the CA IDMS DSECT Reference Guide.

In a CA Technologies ADS Environment

If your autotask invokes a CA technologies ADS application, you can specify the following:

Note: For more information about CA technologies ADS signon menus and the CA technologies ADS SIGNOFF function, see the CA IDMS ADS Reference Guide.

In an SQL or DML Environment

If your autotask invokes an SQL or DML application, design the application as follows:

  1. When the user signs on through the autotask menu, link to the RHDCSNON program from the autotask program.

    Note: For more information, see the "SIGNON task" in the CA IDMS System Tasks and Operator Commands Guide.

    Alternatively, if no signon CLIST is invoked, an Assembler program can issue the #SECSGON macro to initiate user signon.

    Note: For more information, see #SECSGON.

  2. When the user signs off through the autotask menu, link to either RHDCSNOF or RHDCBYE:

    Alternatively, if you do not wish to free resources as RHDCBYE and RHDCSON do, an Assembler program can issue the #SECSGOF macro to initiate user signoff.

    Note: For more information, see #SECSGOF.

How to Clear and Reset the Autotask Field

To display the ENTER NEXT TASK CODE prompt after the signon menu, you clear the autotask field. You can reset the autotask field at signoff. You can do this by using exit 29 to move the appropriate value to the autotask field (LTEAUTSK) in the logical terminal element (LTE) after a successful signon or signoff. After signon, you move low values (binary zeros) to this field; after signoff, you move the appropriate task code.

Note: For more information about the LTE (#LTEDS DSECT), see the CA IDMS DSECT Reference Guide.