On Tue, 16 Jun 2009 14:40:41 +0200, Miklos Szigetvari wrote: > >Till now we have used the PPID = 1 (parent process id) to decide if a >program has started from shell or batch via JCL >Found if the process running with NOHUP(no hung up) , the PPID also 1. >Any better method to decide if it is started from a shell or via batch ? > Why does it matter?
If it's started from TSO or STC with SYSCALL spawn, does it count as batch or as shell? -- gil ---------------------------------------------------------------------- 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

