Job environment variables

HULFT replaces environment variables in the startup job when a job starts upon detection of file operation. The list of environment variables that can be used is as follows.

Table 2.25 List of Environment Variables

Variable Name

Replacement Rule

Example

Remarks

$TRGID

Replaced with the Trigger ID

TRG01

 

$TRGFILENAME

Replaced with the name of the file where the operation was detected

/home/users/usr1/test.dat

 

$TRGDATE

Replaced with the date when the operation was detected

20141214

YYYYMMDD format (*1)

$TRGTIME

Replaced with the time when the operation was detected

190224

HHMMSS format

$TRGMODE

Replaced with the monitoring mode in which the operation was detected

1

1

:

Create

2

:

Delete

3

:

Modify

*1

:

The order of the year, month, and date in the job that is activated when the operation was detected reflects the order of the date format that is specified for Date Format (datefmt) in the System Environment Settings.