XV (REXX Variable to VSAM) -- REXX only
- Purpose
- Copy a REXX stem variable to a VSAM data set.
- Usage notes
- Each variable is copied, starting with stem.1
and finishing with stem.nnn,
where nnn is the value of stem.0.
For example, if stem is VARXX. and VARXX.0 has the value 3, the variables VARXX.1, VARXX.2, and VARXX.3 are copied to a VSAM data set.
This procedure is available only from a REXX procedure.
- Related function
-
- VX
- Copy records from a VSAM data set to a REXX stem variable
- ddname
- Refers to a DD or TSO ALLOC statement. The default is VSAMOUT.
- dsname
- Name of a VSAM data set.
- reuse
- Specify YES to replace any existing records in the output data set (if it is defined with the REUSE parameter in the catalog). Specify NO to add new records without deleting the old records. The default is NO.
- stem
- A REXX stem variable name. The maximum length is 44 characters.