Can anyone explain the need for list and execute form of macros?
How it will be useful for re-entrant coding?
Is it not enough for re-entrant modules to allocate dynamic memory and move the DCB parameters into it before using?
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
Other data mgmnt macros also modify storage (OPEN, CLOSE, etc) These need to be copied to dynamic memory , too. The LIST forms give you the proper fields with fixed values. Point to that area when you issue the execute form of the macro.