It can be done but it is not easy. You don't actually need the front end (I 
think -- more familiar with C than COBOL). But it is not "supported." S122's 
are "unrecoverable."

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Scott Ford
Sent: Sunday, January 24, 2016 11:07 AM
To: [email protected]
Subject: MVS operator command issue

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

Reply via email to