All:

I need a sanity check on a design I am wanting to do. We have a Cobol STC
running with a Assembler Operator Interface, single thread.
I understand I could redo in Assembler and multi-task, redo in C or C++ and
thread, but this isnt what I am looking for. Inside the STC we maintain
a secondary index of data items. If the Operator issues a 'P ......'  or
 'C ........' we will loose the secondary index. My idea is to write a
Cobol condition
handler with TRAP(ON) in LE to capture the S222 and at that time read the
secondary index and write to disk. I am just not sure of the steps in the
Cobol.
I could write the condition handler in Assembler or C I dont care. My
object is not to loose this data..

Any ideas,opinions are welcome and appreciated.

Scott Ford
www.idmworks.com

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

Reply via email to