Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
VGET—retrieve variables from a pool or profile or system symbol z/OS ISPF Services Guide SC19-3626-00 |
|
The VGET service copies values from dialog variables in the shared pool or the application profile pool to the function pool variables with the same names. If a named function variable already exists, it is updated. If not, it is created as an implicit function variable, and then updated. The VGET service can also copy values from system symbols. By default each function variable is created with the same name as the corresponding system symbol, but you can specify a different name. Command invocation formatCall invocation formatParameters
Return codesThese return codes are possible:
Note: If you issue a VGET request for a variable that does
not exist in the pool from which you are trying to copy (shared or
profile), the value of the function pool variable is still updated.
Character variables are set to blanks. Fixed, bit, and hex variables
are set to nulls (all zeros).
ExamplesIn a CLIST, copy from the shared pool to the function pool values
for variables whose names are listed in variable VARLIST.
In
a PL/I program, VARLIST contains a list of variable names. Copy values
for these variables from the shared pool to the function pool. The
variable VARLIST has been made accessible to ISPF by a previous VDEFINE
operation. Set the program variable BUFFER to contain:
Set
program variable BUFLEN to the length of the variable BUFFER. Issue
the command:
or alternately
In a CLIST, obtain the current value for the dynamic system variable
LHHMMSS:
In a REXX exec, obtain the current values for the static symbols
SYSNAME and SYSR1:
In a REXX exec, obtain the current values for the dynamic symbols
HHMMSS and LHHMMSS. Also obtain the current value for the static symbol
SYSCLONE and store it in a variable named cl:
|
Copyright IBM Corporation 1990, 2014
|