zostechhelp
Technical User
The theme is to get all used variable names on a current rexx script on z/OS System. Does somebody know ho to do that?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
foo = ''
say checkvar('foo')
say checkvar('bar')
exit
/* Functions/Procedures */
checkvar:
parse arg name
retval = name 'is not a defined variable'
if SYMBOL(name) = 'VAR' then
retval = name 'is a variable !'
return retval
foo is a variable !
bar is not a defined variable