Not Sure if this will work, but try adding the main program to PPT (schedxx in parmlib) with NOCANCEL attribute. I wonder what will make the stc shutdown, may be a record read from SP231 (stop run, may be)?
Best, ITschak ITschak Mugzach Z/OS, ISV Products and Application Security & Risk Assessments Professional On Sun, Jan 24, 2016 at 9:07 PM, Scott Ford <[email protected]> wrote: > All: > > I have a scenario i would like to explain ... > > 1. Cobol STC , uses assembler module to read records that are placed in SP > 231. The data is persistent. > This data is read into a secondary index for dup checking. > > My issue is if someone issues a 'C stcname' the the customer can loose > data. My questions is if I code something like this: > > Assembler -- CEEPIPI with a ESTAE > ...Assembler calls the cobol routines.... > > Can I intercept the S222 abend and save data ..? > > Regards, > Scott > > ---------------------------------------------------------------------- > 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
