I have a kshell script that I am trying to perform an oracle operation.

Everything works fine in the script excpet cleanup.

One section of the script spools off a monitor job that watches the script
for any failures by use of flag files and file checking.  This all works
well UNTIL the main program ends before the monitor programs.

What happens is , that when the main program ends, the monitor closes down
because it was spawned by the main program.  Because of this, no all the
flag files are getting deleted.

I need to know the proper trap to set and its syntax to catch an ending
program so that I can get it to delete the flag files.


Anyone have any ideas ??

Thanks

Kevin

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kevin Lange
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to