When I wrote that you ought to invest in a debugger, perhaps what I meant 
was that you need to use a debugger for debugging.
Capture data so that you can see what is going on and what is going wrong. 
Share that data if you are going to ask for help.

You showed some of the code, but you did not show your data definitions. 
What is "X.SRBCCOMCODE"? 

<snip>
Don't understand addr fields ? shouldn't the value SYNCHCOMPADDR contain 
the
return code from the SRB or FRR meaning    X.SRBCCOMCODE
</snip>

Do you think that we used "ADDR" in the keyword name for the heck of it?
No, we used it so that you would be more likely to get it right even if 
you did not read the documentation.
You should think, in using that keyword, that what you are providing is a 
field that contains the address of something.

If you chose to look at the book, there is the wording

To code: Specify the name (RS-type) of an optional 4-byte input area that 
contains the address of the fullword that is to hold the data to be 
returned. 

If you chose to look at the macro, there is the wording
 
    is the name (RS-type) of an optional 4 byte input
    that contains the address of the fullword that is
    to contain ... 

Peter Relson
z/OS Core Technology Design


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to