> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Moore, Ken
> 
> Thanks to all who replied.  I discovered, as I was teaching myself
this logic, that the ECB actually
> had the completion code in it, but only after the completion of the
WAIT ECB, which proceeded the
> ATTACH.  Additionally, the existing logic in the program took the ECB
> 
> ECB = X'84806000' in this case
> 
> and loaded the second halfword into R15 to return to the operating
system, which I can assume is well
> out of range for a valid return code (X'6000) and was being
interpreted as a ZERO.

Only the last three hex digits in the register are considered as "return
code", and you show them as all zeroes; thus, RC = 0.

   -jc-

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to