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- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN