

OPS/REXX Built-in Functions › OPSHFI Function › Keywords for OPSHFI
Keywords for OPSHFI
For explanations of the keywords you can use with OPSHFI, see OPSHFI Command Processor.
Examples: OPSHFI
- The following code reads all variables matching the namemask into storage, and replaces existing variables in memory or creates new ones as needed:
a = opshfi('read glvtemp1.pjc.* shared')
- The following code writes all variables matching the namemask glvtemp1.pjc. to the VSAM data set as local variables:
a = opshfi('write glvtemp1.pjc.* local')
- The following code deletes all local variables matching the namemask glvtemp1.pjc. from the VSAM data set. LOCAL is the default and can be omitted.
b = opshfi('delete glvtemp1.pjc.* local')
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|