Testing EXECs with SHARED variables
REXX EXEC example:
IMFEXEC VPUT (WORD1 WORD2 WORD4) LOCAL
CLIST example:
IMFEXEC VPUT (WORD1 WORD2 WORD4) LOCAL
you can use the following statement:
REXX EXEC example:
IMFEXEC VPUT (WORD1 WORD2 WORD4) SHARED
CLIST example:
IMFEXEC VPUT (WORD1 WORD2 WORD4) SHARED
By placing the variables WORD1, WORD2, and WORD3 into the SHARED pool, you can verify the values that were substituted. Use the following command to see how the variables were resolved in the SHARED pool. After you have verified them, you can then adjust your EXEC to put the variables back to the LOCAL pool.
.D V SHARED
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*