I think the main problem is not whether I am writing authorized code But the documentation or lack of, on The TSO verify exit
Sent from my iPhone > On Oct 16, 2013, at 7:56 AM, Tom Marchant <[email protected]> wrote: > >> On Tue, 15 Oct 2013 13:46:28 -0400, MichealButz wrote: >> >> Here is the verify exit it's apf authorized program but at this point its >> running in problem state >> >> I put a BR R14 right at the beginning of the exit and it worked ok I also >> checked the values of the registers >> >> On entry and exit and outside of R15 which is 0 they are the same > > Let me see if I understand. > 1. You have written authorized code that consistently abends with S0C4-4 > 2. You alter your exit with a BR 14 at the entry point and the abend does not > occur. > 3. You have no idea what you can do to determine where in the code the > problem is caused. > > It seems to me that you have no business writing authorized code if you are > not able to perform basic debugging. > > I can see two errors in the code that you have shown. > 1. It does not follow linkage conventions. > 2. It leaves a USING for register 1 after register 1 has been altered. > > -- > Tom Marchant > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
