Batch variables

The standard batch variables are:

System variable

Format

Description

#BatchDate

YYMMDD

The date the batch was scanned. It is the current date according to your system, specified in the short date format specified by your Windows settings. More info.

#BatchIdx

N(4)

The sequence number of the form within the batch, set by the system.

#BatchNo

N(6)

The batch number, set by user or system. The batch number of forms not scanned in batches is 1.

#BatchPrefix

X(6))

The batch prefix, set by user or system. More info.

#BatchSize

N(4)

The number of forms or sets in the batch. (See examples.) Set by user or system.

#BatchTime

hhmmss

The time the batch was scanned. It is the system time in the format HHMM. (That is, 8:15 a.m. is specified as 0815 and 4:20 p.m. is specified as 1620.) More info.

You can also have user-defined batch variables.

#BatchDate and #BatchTime can have a different format in the transfer file. (More information.)

How batch data is used