Binyamin, As you and Peter pointed out, the Getmain RU rc is barely useless, I am better of to code a Storage Obtain, correct ?
Scott ford www.identityforge.com On Jun 6, 2012, at 4:55 PM, Binyamin Dissen <bdis...@dissensoftware.com> wrote: > On Wed, 6 Jun 2012 20:37:48 +0000 "Gainsford, Allen" <allen.gainsf...@hp.com> > wrote: > > :>Binyamin Dissen wrote: > :> > :>> GETMAIN RU does NOT get a defined return code. R15 is > :>> meaningless. The GETMAIN has succeeded. > :>> > :>> I would suggest that you are looking in the wrong area. > :> > :>Oh? The Assembler Services References seems pretty clear that R15 does > indeed contain a return code after a GATMAIN RU. It can be 0 or (if > CHECKZERO=YES was specified) 20. > > > It also states: > > "When the GETMAIN macro returns control to your program and you specified a > conditional request, GPR 15 contains one of the following hexadecimal return > codes:" > > which implies that R15 is not set for unconditional requests. > > Either way, RU - ALWAYS - gets storage if it does not abend. > > -- > Binyamin Dissen <bdis...@dissensoftware.com> > 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.