File Trigger service settings

To acknowledge the file trigger service, modify the Observe Definition file (service.dat) in accordance with the environment where HULFT works.

Note

In order not to activate a file trigger, do not include the file trigger (HULTRG) parameter in the Observe Definition file.

Description in the Observe Definition file

HULTRG [filename]

Parameter explanation

filename

Specify the file name of the file to which the job execution result is output. The file name should be specified by the full path within 200 bytes. If omitted, 'trglog.dat' in the 'bin' folder contained in the installation folder is set as the default.

Job result output contents

ID=Trigger ID FILENAME=Monitored File Name JOBID=Job ID
DATE=Date STIME=Start Time ETIME=End Time RC=Status Code JOB=Executed Job

<Output example>

ID=TRG01 FILENAME=C:\TEST.dat JOBID=JOB01 
ID=TRG01 FILENAME=C:\TEST.dat DATE=2014/12/01 STIME=21:50:28 ETIME=21:50:33 
RC=0000 JOB=C:\WINNT\Notepad.exe 
ID=TRG01 FILENAME=C:\TEST.dat DATE=2014/12/01 STIME=21:50:33 ETIME=21:50:35 
RC=0000 JOB=C:\WINNT\Notepad.exe 
ID=TRG01 FILENAME=C:\TEST.dat DATE=2014/12/01 STIME=21:50:35 ETIME=21:50:37 
RC=0000 JOB=C:\WINNT\Notepad.exe

= Remarks =

When multiple jobs are registered in Job ID, the execution result of the jobs will be output with items from 'ID' to 'JOB' displayed for each of the jobs.

<Message explanation>

ID:

Trigger ID (50 bytes)

FILENAME:

Monitored file name

JOBID:

Job ID (50 bytes)

DATE:

Job start date

STIME:

Job start time (hh:mm:ss)

ETIME:

Job end time (hh:mm:ss)

RC:

Job status code (4 bytes)

JOB:

Executed job

Note

The job start date is displayed in the date format specified for Date Format (datefmt) in the System Environment Settings.