Pseudovariables

Pseudovariables represent receiving fields. They cannot be nested. This topic lists the built-in pseudovariables.

For example, the following is invalid:
  unspec(substr(A,1,2)) = '00'B;
A pseudovariable can appear only:
Table 1. Built-in pseudovariables
Function Description
ENTRYADDR Sets an entry variable with the address of the entry to be invoked
IMAG Assigns the imaginary part of a complex number
ONCHAR Sets the value of a character that caused a conversion condition
ONGSOURCE Sets the value of a graphic string that caused a conversion condition
ONSOURCE Sets the value of a string that caused a conversion condition
REAL Assigns the real part of a complex number
STRING Assigns a string that is the concatenation of all the elements of a string aggregate
SUBSTR Assigns a substring of a string
ONWCHAR Sets the value of a widechar that caused a conversion condition
ONWSOURCE Sets the value of a widechar string that caused a conversion condition
TYPE Assigns a typed structure or union to storage located by a handle
UNSPEC Assigns a bit string that is the internal representation of a value





Published: 23 December 2018