Strike that reverse it... You actually want the reverse of STCCHECK and it wouldn't be hard to adapt it but I also notice you might need to remove a restriction in it that forces a minimum parm length that is probably site specific. Making these small checks to STCHECK would be fun and easy but you want something off the rack I expect.
Instead the REXX exec I was thinking of before but didn't have handy I dug up and it is Mark's JOBCHECK. http://home.flash.net/~mzelden/mvsutil.html http://home.flash.net/~mzelden/mvsfiles/jobcheck.txt http://home.flash.net/~mzelden/mvsfiles/jobchkrx.txt Also in CBT File 434 File # 434 Mark Zelden collection of Utilities and execs NEW http://www.cbttape.org/ftp/updates/CBT434.zip http://www.cbttape.org Best Regards, Sam Knutson, GEICO Performance and Availability Management mailto:[EMAIL PROTECTED] (office) 301.986.3574 "When I am right, no one remembers. When I am wrong, no one forgets," Doug Harvey, a professional baseball umpire, once lamented. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Carl Edwards Sent: Thursday, May 25, 2006 2:32 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Determine what is running on system Is anyone aware of a means by which I can determine if a specific 'process' is running. For example, I would like to determine, in a program, if DB2 is active, or any other process for that matter. TIA ==================== This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html