If youre in ARMODE you have to LINKX, not LINK. LINKX is the macro for ARMODE.
To get the WSA, you should use the prolog/epilog code before the LINKX ... a sample is documented here: https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ccrug00/asmprlogepilog.htm Joe On Sun, Nov 8, 2020 at 5:21 PM Joseph Reichman <[email protected]> wrote: > 1. I am using a far pointer to address a data space. I can see where > the access registerers are being initialized but I do not see a SAC 512. My > compile options has ARMODE > > I inserted __asm{ " SAC 512" }; to get it working > > 2. I am LINK'ing to the metal C program from an assemble program . > Register 0 (which is a pointer to the writable static area) is not > initialized. I have a RENT option. Is there anyway knowing the size of the > WSA Should be (I have read the documentation bot XL/C complier guide and > metal C programming guide not quite sure what the WSA area is in regards to > reentrancy) > > > > Thanks > > > > > ---------------------------------------------------------------------- > 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
