Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
List and execute form for dataset macros

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
ganasrinivasan

New User


Joined: 06 Nov 2006
Posts: 13
Location: Montreal

PostPosted: Mon Nov 03, 2008 5:41 pm    Post subject: List and execute form for dataset macros
Reply with quote

Hi,
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?
Back to top
View user's profile Send private message
References
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 333
Location: Iowa, USA

PostPosted: Mon Nov 03, 2008 10:31 pm    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1