We've got a restful service calling a macro which returns a couple of global variables. Both global variables are set/updated in a macro but one is only set once, whilst the other we are attempting to set twice (or multiple times).
The GV that is updated only once is returned fine. The other one doesn't have a value returned. A couple of questions come from this.
1. How do we reference a GV from inside a macro? Can we use the updatevar feature?
2. What does the overwrite/append options do to a GV when setting from an extract?
3. Is there a better way? Should we be using macro variables and somehow returning those to the REST service?