Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Miscellaneous built-in functions

The built-in functions do not fit into any of the previous categories are those listed in Table 56.

Table 56. Miscellaneous built-in functions
Function
Description
BYTE
Synonym for CHARVAL
CDS
Returns a FIXED BINARY(31) value that indicates if the old and current values in a compare double and swap were equal.
CHARVAL
Returns the character value corresponding to an integer
COLLATE
Returns a character(256) string specifying the collating order
CS
Returns a FIXED BINARY(31) value that indicates if the old and current values in a compare and swap were equal.
GETENV
Returns a value representing a specified environment variable
HEX
Returns a character string that is the hex representation of a value
ISMAIN
Indicates if the current procedure is main
OMITTED
Indicates if a parameter was not supplied on a call
PACKAGENAME
Returns the name of the containing package
PLIRETV
Returns the PL/I return code value
PRESENT
Indicates if a parameter was supplied on a call
PROCEDURENAME
Returns the name of the most closely nested procedure
PUTENV
Adds new environment variables or modifies the values of existing environment variables
RANK
Returns the integer value corresponding to a character or widechar
REG12
Returns the address of the current dynamic save area
SOURCEFILE
Returns the name of the containing file
SOURCELINE
Returns the number of the containing line
STACKADDR
Returns the address of the current dynamic save area
STRING
Returns a string that is the concatenation of all the elements of a string aggregate
SYSTEM
Returns the value returned by a command
THREADID
Returns the thread identifier for a task
UNSPEC
Returns a bit string that is the internal representation of a value
VALID
Indicates if the contents of a variable are valid for its declaration
WCHARVAL
Returns the widechar value corresponding to an integer.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)