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 DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm


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