Report Variables

The report variables are available when sending receive reports. For further information about receive reports please refer to Report success, Report failure and Report failed request.

Receive report example:

The following variables are available in receive reports, in addition to the global variables (see Global Variables).

VariableRECVBYTES

$RECVBYTES

Number of bytes received.

VariableRECVLINES

$RECVLINES

Number of lines received.

VariableRECVERRORS

$RECVERRORS

Number of communication errors.

VariableRECVLPS

$RECVLPS

Number of lines received per second.

VariableRECVCPS

$RECVCPS

Number of characters received per second.

VariableRECVERRTEXT

$RECVERRTEXT

If an error occurred, a $RECVERRTEXT contains a description of the error. If no errors occurred, $RECVERRTEXT is empty.

Example: 'Error copying file:test.nc [Disk full]'

VariableRECVPRGNAME

$RECVPRGNAME

Name of received program.

Example: 1234

VariableRECVFILENAME

$RECVFILENAME

Filename of received program.

Example: PRG1234.NC

VariableRECVDIRNAME

$RECVDIRNAME

Directory of received program.

Example: C:\NCPRG\MachineA

VariableRECVPATH

$RECVPATH

Filename and path of received program.

Example: C:\NCPRG\MachineA\PRG1234.NC