This is the code after the prolog don’t see a call WSA initialization
+ LR 0,2
+ DROP 15
@@BGN@1 DS 0H
AIF (NOT &CCN_SASIG).@@NOSIG1
LLILH 11,X'C6F7'
OILL 11,X'E2C1'
ST 11,4(,13)
5 AIF (&CCN_NAB_STORED).@@NONAB1
6 LA 11,720
7 ALR 11,13
"IBMUSER.DBGR.SERVER(OPENFILE)"
t Source Statement
8 ST 11,#NAB_1-@@AUTO@1+4(,13)
9 MVHI #NAB_1-@@AUTO@1(13),0
0 .@@NONAB1 ANOP
1 USING @@AUTO@1,13
2 LARL 3,@@LIT@1
3 LAE 3,0(3)
4 USING @@LIT@1,3
5 ST 0,#WSA_1 <=======
6 STAM 1,1,336(13) #SR
7 ST 1,332(,13) #SR
8 LAE 14,0(14,0)
9 STAM 14,14,712(13) #ar
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Joe
Monk
Sent: Thursday, December 24, 2020 10:01 AM
To: [email protected]
Subject: Re: Size of the Writable Static Area
Check page 31 in this:
https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zosv2r3sc147313/$file/ccrug00_v2r3.pdf
Joe
On Thu, Dec 24, 2020 at 8:39 AM Joseph Reichman <[email protected]>
wrote:
> I’m writing a prolog for a metal C program I noticed that after the
> prolog code Registers 0 is stored in #WSA_1 seems like storage has to
> be allocated for it ( writable static area ) in addition to the
> dynamic storage ( register save + auto variables )
>
>
> > On Dec 24, 2020, at 9:32 AM, Peter Relson <[email protected]> wrote:
> >
> > I think of the writeable static area as an area that LE
> > instantiates on your behalf.
> > As far as I know, there is no interface provided by which you can do
> this.
> >
> > If LE is going to do this for you, using loader services that rely
> > on information within the program object itself (and there is such
> > information), how is knowing the size of the area of help to you?
> >
> > Peter Relson
> > z/OS Core Technology Design
> >
> >
> > --------------------------------------------------------------------
> > -- For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO
> > IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN