Running TRMD as a started task

A sample procedure is shipped in member EZATRMDP in SEZAINST. Follow the instructions in the sample member to define your environment.

The offset from Coordinated Universal Time (UTC) of the syslog time in the timestamp of TRMD messages is determined by the TZ environment variable. If the timestamp is required in UTC and has not been set by the TZ environment variable, specify the following definition in the TRMD procedure:

//  PARM=('POSIX(ON) ALL31(ON)',
//  'ENVAR("LIBPATH=/usr/lib"',
//  '"TZ=0")/-d 1')

To start TRMD as a started task, use the S TRMD command from the MVS™ console or SDSF. TRMD issues a fork, and in some cases the job name will be the original job name with a number appended. For example, S TRMD might result in the TRMD started task running under the job name TRMD1, whereas S TRMDTASK would result in the TRMD started task running under the job name TRMDTASK. Use the D A,TRMD* command to verify the job name that TRMD is running under.

If running as a started task, issue P jobname to stop TRMD.

To automatically start TRMD when the TCP/IP stack is started, add TRMD to the AUTOLOG statement in the TCP/IP profile as follows:

AUTOLOG                  
    TRMD  JOBNAME TRMD    
ENDAUTOLOG