On 18 January 2013 14:54, Bodoh John Robert <[email protected]> wrote:
> I would like to augment the DC assembler instruction in some parts of a > program. I would like to collect additional information from the DC > instruction. I have been playing with the OPSYN statement to redefine the DC > assembler instruction to invoke a macro. The problem I'm having is to get > the macro to re-issue the DC assembler instruction and have it behave the way > it should: > > DC OPSYN MYDC > > MYDC MACRO > . > . > .* collect information > . > . > DC &SYSLIST execute real DC > MEND > > When I try such an example, I get an out of memory condition. Does anyone > know if a technique to cause the real DC instruction to be executed? You need REALDC OPSYN DC DC OPSYN MYDC and then use REALDC in your MYDC macro instead of DC. You are out of memory because your macro is recursively invoking itself. Tony H.
