Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
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    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

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

New 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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us