Hello,
Hope this is an easy question ..
If I have a variable object as below:
https://us.v-cdn.net/5019921/uploads/editor/8l/sh6t04hydy8y.png" width="777">
and I want to declare and assign all the values in it to a variable e.g.
VAR1 = 'TEST'
VAR2 = 'TEST2'
Do I do something similar to:
:
SET &HND#=PREP_PROCESS_VAR
(DATABASE_MAINTENANCE)
:PROCESS &HND#
: SET &VK#
= GET_PROCESS_LINE(&HND#
,1)
: SET &VALUE#
= GET_PROCESS_LINE(&HND#
,2)
: PRINT "&VK# &VALUE#"
:ENDPROCESS
If so how do I get it to resolve VAR1 to equal "TEST"
or is GENERATE_SCRIPT_VARS
for this exact purpose?Hope this makes sense?
Cheers,
Dan.