Command reference / CL
RTVSYSVAL
Retrieve System Value
Used in a CL program to retrieve the value of a system value so it can be used in the program. The value is copied into the specified CL variable.
The source help entry is marked incomplete.
Allowed environments: *BPGM, *IPGM, *BREXX, *IREXX.
Use within a CL program.
Positional parameters: 2.
Restrictions
- Valid only in CL programs or REXX procedures.
- The attributes of the system value and the receiving CL variable must be compatible.
Parameters
SYSVAL
System value
Names the system value whose value is retrieved and returned for use in the program. This is a required parameter.
RTNVAR
CL variable for returned value
Generated from os/cl/catalog/RTVSYSVAL.json and os/cl/help/RTVSYSVAL.json.