IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How Dynamic Call is used in PL/I


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudheer648

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Mon May 30, 2005 1:04 pm
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
hsourabh

New User


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

PostPosted: Tue May 31, 2005 10:37 am
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

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Tue May 31, 2005 10:46 am
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
Search our Forums:

Back to Top