sysVar system variable (core fields)

The sysVar system variable holds miscellaneous values.

For information about sysVar variables that are associated with specific UI technologies, see the related references at the end of this topic. The qualifier sysVar can precede the name of each EGL system variable listed in the next table.

Table 1. sysVar system variables
System variable Description
arrayIndex

Contains a number:

  • The number of the first element in an array that matches the search condition of a simple logical expression with an in operator.
  • The number of the last element modified in the target array after a move...for count statement.
  • Zero, if no array element matches the search condition.
callConversionTable Contains the name of the conversion table that is used to convert data when your program does the following at run time:
  • Passes arguments in a call to a program on a remote system
  • Passes arguments when invoking a remote program by way of the vgLib.startTransaction() system function
  • Accesses a file at a remote location
errorCode Receives a status code in the following circumstances:
  • At the completion of a call statement.
  • After a call to a service.
  • After a file I/O statement such as get or open.
  • After many system function calls, but only if you are running under V6 exception compatibility (see Using V6 exception compatibility),
overflowIndicator Indicates whether there is arithmetic overflow.
remoteSystemID Contains the system name for the location of a remote entity: a program, VSAM file, CICS® transaction, or transient data queue.
returnCode Contains an external return code, as set by your program and made available to the operating system.
sessionID Contains an ID that is specific to the Web application server session.
sysVar.sqlData Contains a number of system variables used with a relational database.
systemType Identifies the target system in which the program is running.
terminalID Contains the CICS terminal identifier for COBOL environments, or the user.name from the Java™ Virtual Machine system property.
transactionID Contains the name of the transaction code for the next program segment in COBOL or the name of the transferring program in Java.
transferName Specifies the name of the program or transaction to which you want to transfer.
userID Contains a user identifier in environments where one is available.

Compatibility

Table 2. Compatibility considerations for sysVar
Platform Issue
Rich UI The only supported sysVar variable is systemType.

Feedback