use of fetchable in pl1



IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS

use of fetchable in pl1

Postby amitpadhi » Thu Dec 22, 2016 6:59 pm

Can anyone explain with example for fetchable use in pl1..





Thanks
amitpadhi
 
Posts: 4
Joined: Thu Dec 22, 2016 6:55 pm
Has thanked: 0 time
Been thanked: 0 time

Re: use of fetchable in pl1

 

Re: use of fetchable in pl1

Postby Akatsukami » Thu Dec 22, 2016 7:40 pm

Not in Forum Rules.

Moved to PL/I
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1044
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: use of fetchable in pl1

Postby NicC » Thu Dec 22, 2016 8:07 pm

What do you not understand from the relevant manuals?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2664
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 100 times

Re: use of fetchable in pl1

Postby amitpadhi » Fri Dec 23, 2016 10:51 am

This option indicates the procedure is dynamically fetched if necessary before invoking it. The FETCHABLE attribute is not valid on INTERNAL procedures. FETCHABLE procedures should not be linked into a load module that contains a MAIN procedure.

this is the note i got from manual but still want to know is it only for dynamic procedure module and not for static one how actually it works that i want to know.
amitpadhi
 
Posts: 4
Joined: Thu Dec 22, 2016 6:55 pm
Has thanked: 0 time
Been thanked: 0 time

Re: use of fetchable in pl1

Postby NicC » Fri Dec 23, 2016 4:14 pm

Research 'static' and 'dynamic' with regards to loading executable modules.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2664
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 100 times


Return to PL/I