"Register Contents 0
Used as a work register by the system if SF is specified." On Sun, 8 Nov 2020 18:52:58 -0500 Joseph Reichman <[email protected]> wrote: :>Here it is GETMACIN is the METAL C prog :> :> :> 283 MVC DBGROFF,=F'0' :> 284 LINKX EP=GETMACIN, :> PARAM=(MACINST,DBGROFF), :> MF=(E,(R8)),SF=(E,(R6)) :> 290+ LR 1,R8 :> 291+ LA 14,MACINST PICKUP :> 292+ LA 15,DBGROFF PICKUP :> :> :>IKJ57310I BREAKPOINT AT OPENFILE HAS BEEN DEACTIVATED :> IKJ57024I AT GETMACIN PROLOUGE :> TESTAUTH :>LISTPSW :> IKJ57652I PSW LOCATED AT 8B7C68 :> XRXXXTIE KEY XMWP AS CC PROGMASK EA BA INSTR ADDR :> 00000111 8 1101 00 01 0000 0 1 1FA4B3E0 :> TESTAUTH :> :>thanks :> :>As you can see AS Address space control is 0 :>-----Original Message----- :>From: IBM Mainframe Discussion List <[email protected]> On Behalf Of :>Binyamin Dissen :>Sent: Sunday, November 8, 2020 6:42 PM :>To: [email protected] :>Subject: Re: Metal C questions :> :>On Sun, 8 Nov 2020 18:21:00 -0500 Joseph Reichman <[email protected] :><mailto:[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 :> :>Did you get an abend without it? :> :>:>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) :> :>What is the syntax of your LINK(x), i.e., show your code. -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
