here's my calling rexx:
/*REXX*/
DATASET = "my.dataset"
STRING = 'ABC'
SAY "CALLING CHGALL MACRO"
ADDRESS ISPEXEC "VPUT STRING"
ADDRESS ISPEXEC "EDIT DATASET("DATASET") MACRO(CALLED)"
DATASET = "my.dataset"
STRING = 'ABC'
SAY "CALLING CHGALL MACRO"
ADDRESS ISPEXEC "VPUT STRING"
ADDRESS ISPEXEC "EDIT DATASET("DATASET") MACRO(CALLED)"
CALLED:
/*REXX*/
ADDRESS ISREDIT
MACRO(CALLED)
ADDRESS ISPEXEC "VGET STRING"
"C ALL STRING 'DEF'"
"SAVE"
"END"
RETURN
ADDRESS ISREDIT
MACRO(CALLED)
ADDRESS ISPEXEC "VGET STRING"
"C ALL STRING 'DEF'"
"SAVE"
"END"
RETURN
I wanted to edit the dataset without actually opening it, plus it's not actually executing my macro. I'm still figuring it out but cant seem to find the answer.