AW: Re: How are Program Object sections with Defer attribute loaded?

2017-05-16 Thread Peter Hunkeler
>>Are they loaded into a specific subpool defined by MVS, or the >>loading piece of software responsible to do an appropriate >>STORAGE OBTAIN before using that internal interface? > > >Both are possible. The default system processing happens to use subpool 1 >(but the subpool number is not to be

Re: How are Program Object sections with Defer attribute loaded?

2017-05-16 Thread Peter Relson
Are they loaded into a specific subpool defined by MVS, or the loading piece of software responsible to do an appropriate STORAGE OBTAIN before using that internal interface? Both are possible. The default system processing happens to use subpool 1 (but the subpool number is not to be

Re: How are Program Object sections with Defer attribute loaded?

2017-05-11 Thread Jesse 1 Robinson
] On Behalf Of Steve Smith Sent: Thursday, May 11, 2017 6:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: How are Program Object sections with Defer attribute loaded? It appears to me that deferred-load sections are merely an enhanced external dummy section (aka pseudo-register

Re: How are Program Object sections with Defer attribute loaded?

2017-05-11 Thread Steve Smith
It appears to me that deferred-load sections are merely an enhanced external dummy section (aka pseudo-register) facility. The binder updates Q-cons for them, and it's up to the program to implement the actual in-memory version, and provide a method for finding it. LE and its HLL ancestors have

AW: Re: How are Program Object sections with Defer attribute loaded?

2017-05-11 Thread Peter Hunkeler
>>How does one request that "deferred load" section be >>loaded now? >"One" does not. LE does, using an internal interface. LE is responsible for making sure that both the "immediate load" and "deferred load" sections are in place. I understand LE is using it, but since "deferred load" is

Re: How are Program Object sections with Defer attribute loaded?

2017-05-11 Thread Peter Relson
>How does one request that "deferred load" section be >loaded now? "One" does not. LE does, using an internal interface. LE is responsible for making sure that both the "immediate load" and "deferred load" sections are in place. As to finding it in a dump, perhaps that would be based on

Re: AW: Re: How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Clark Morris
[Default] On 10 May 2017 11:09:25 -0700, in bit.listserv.ibm-main p...@gmx.ch (Peter Hunkeler) wrote: > > > >>> How does one request that "deferred load" section be loaded now? I probably >>> was looking for the wrong thing at the wrong place, since I could not find >>> it. >>> >> I believe

AW: Re: How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Peter Hunkeler
>That's actually a trickier question than you might imagine! I imagine it is! In my current job, I'm getting involved when standard application debugging techniques don't help anymore. I usually work with IPCS, so SYSMDUMPs and SVCDUMPs. We moved to Cobol V5.2 earlier this year, but I still

AW: Re: How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Peter Hunkeler
> Trust in the COBOL young Luke.. You do not need to understand the COBOL, It knows what you need. LOL ! Thanks for amusing me after a long day. -- Peter Hunkeler -- For IBM-MAIN subscribe / signoff / archive access

AW: Re: How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Peter Hunkeler
>> How does one request that "deferred load" section be loaded now? I probably >> was looking for the wrong thing at the wrong place, since I could not find >> it. >> > I believe they're loaded on demand. If you need them, they' re there; if they're not there, you didn't need them. This

Re: How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Allan Kielstra
That's actually a trickier question than you might imagine! There are a number of cases: the case where your module consists of COBOL, PL/I and assembler only and all other cases. All other cases include cases where the COBOL run time support is implemented in a language other than the

Re: How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Paul Gilmartin
On Wed, 10 May 2017 19:02:32 +0200, Peter Hunkeler wrote: >I understand that Cobol V5 and newer is marking the Working Storage sections >(C_WSA) with the "deferred load" attribute. I further understand that >"deferred load" sections are not loaded automatically when the load module is >brought

Re: How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Lizette Koehler
to:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Peter Hunkeler > Sent: Wednesday, May 10, 2017 10:03 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: How are Program Object sections with Defer attribute loaded? > > I understand that Cobol V5 and newer is marking the Working S

How are Program Object sections with Defer attribute loaded?

2017-05-10 Thread Peter Hunkeler
I understand that Cobol V5 and newer is marking the Working Storage sections (C_WSA) with the "deferred load" attribute. I further understand that "deferred load" sections are not loaded automatically when the load module is brought into storage. How does one request that "deferred load"