On 3/18/2013 4:36 PM, Victor Gil wrote:
As I said, the subroutine response via a field in the passed comarea.
The commarea is just ONE parm and the resopnse field is part of the commarea, 
not the RETURN REGISTER

03  TPTAPI-RETURN-PARAMETERS.
     05  TPTAPI-RETURN-CODE           PIC  X(02).
         88  TPTAPI-SUCCESSFUL        VALUE '00'.
         88  TPTAPI-WARNING           VALUE '04'.
         88  TPTAPI-INVALID-PARM      VALUE '08'.
....

-Victor-

Hey, chill, man.

You still have not given us enough info.

1. show us your ATTACH(X) invocation
2. show us the code where your Assembler routine is looking at the return value
3. show us your procedure division header
4. show us where your COBOL program sets the return code

we may need more to see the problem, but this is a start

(and, no, LE is not making local copies of your parameter).


--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
  + Training your people is an excellent investment

* Try our tool for calculating your Return On Investment
    for training dollars at
  http://www.trainersfriend.com/ROI/roi.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to