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
 
How Dynamic Call is used in PL/I

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

Active User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Mon May 30, 2005 1:04 pm    Post subject: How Dynamic Call is used in PL/I
Reply with quote

Hi,

How the Dynamic Call is implemented in PL/I.

I heard a statement called FETCH used for it.

Need some inputs from all of you about this topic.
Back to top
View user's profile Send private message
References
hsourabh

New User


Joined: 24 May 2005
Posts: 12
Location: Z?rich

PostPosted: Tue May 31, 2005 10:37 am    Post subject:
Reply with quote

Hi Sudheer,
Any simple dynamic calls can be implemented inside a PL/1 program by
calling that external module (for e.g. CALL XYZ(paramters)). For this you have to declare the called module as an external entry inside the calling program, and during compilation of the latter you must link edit both i.e the load library of the former must be mentioned in the job step.
Another way of implementing a dynamic call is by using FETCH (FETCH XYZ). But there are few restrictions here like variables with controlled and external attribute are not allowed inside the fetched module, fetched procedures can't fetch further procedures etc.

Bye,
Sourabh
Back to top
View user's profile Send private message
sudheer648

Active User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Tue May 31, 2005 10:46 am    Post subject: Re: How Dynamic Call is used in PL/I
Reply with quote

Hi Sourabh,

Thanks a Lot.

Bye the Way Sourabh can you feed some inputs on my topic about the String Conversion Errors in PL/I.

Thanks in advance.
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