It says here:
  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...

RU signifies an unconditional request.

> -----Original Message-----
> From: IBM Mainframe Assembler List [mailto:ASSEMBLER-
> [email protected]] On Behalf Of Gainsford, Allen
> Sent: Wednesday, June 06, 2012 3:38 PM
> To: [email protected]
> Subject: Re: Getmain question
>
> 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.
>
> Allen Gainsford

Reply via email to