New ? TAB command (for ATE) AG_IATIMEOUT (79) retrieves or sets the inactivity timeout period. Same idea as MX_IATIMEOUT but for the Windows or ATE client.
tab(-10,AG_IATIMEOUT); opcode;","; timesecs; chr(127);
opcode should be "1" to set the timeout, and "0" to retrieve it (in seconds). (Since the default opcode is "0" and the timesecs argument is ignored in the case of the retrieve operation, both arguments can be eliminated when retrieving the timeout.)
timesecs is the new timeout value in seconds. (Note that this differs IATIMEOUT parameter in the system INI file, which uses units of minutes.)
Retrieve:
? tab(-10,AG_IATIMEOUT);chr(127);
input "",timeout'seconds
Set:
? tab(-10,AG_TIMEOUT);"1,";timeout'seconds;chr(127);
Comments
Also see IATIMEOUT in the system INI file and MX_TIMEOUT. Note that in the case of ATE, if the server-side timeout expires, the job will receive error 254, whereas if the client-side timeout expires, the job will experience this as a hang-up (error 250). See the section on Job Terminations in the Development Guide for more details on how hang-ups are handled.