On Tuesday 23 June 2009, Andy Robertson wrote:
> We use this, Barbera
>
> Might help
>
> I hope email code page problems don't trash the special characters
> I'm using . . .
Looks clean except for all those pound sterling symbols, which need
to be changed to dollar signs.
Cheers,
Bob
>
>
> ********************************* Top of Data
> ********************************
> #
> # shell script to bring down daemon if running
> #
> set -x
>
> #
> #
> # the following finds the pids by piping the output of ps -ef through
> # three greps (pattern matching) and an awk (to get the second
> column). # The two extra greps filter out the grep process itself and
> the # jlp_killprocess
> #
> #
> pids=`ps -ef|grep £1|grep -v grep|grep -v jlp_killprocess\
>
> |awk '{print £2}'`
>
> # pids is now the process id(s) of the syslog daemon(s) running
>
> running=0
> for pid in £pids
> do
> running=1
> done
> if test £running -eq 0
> then
> echo "jlp_killprocess: "£1" is not running "
> exit 0
> fi
>
>
> echo "jlp_killprocess: issueing kill for "£pids
> for pid in £pids
> do
> kill -s TERM £pid
> done
> sleep 10
> for pid in £pids
> do
> kill -s KILL £pid
> done
> sleep 5
>
>
> # check to make sure it ain't there any more . . .
>
> pids=`ps -ef|grep £1|grep -v grep|grep -v jlp_killprocess\
>
> |awk '{print £2}'`
>
> running=0
> for pid in £pids
> do
> running=1
> done
> if test £running -eq 0
> then
> echo "jlp_killprocess: "£1" has been killed "
> exit 0
> fi
>
> echo "jlp_killprocess: "£1" - kill failed "
> exit 12
>
> ******************************** Bottom of Data
> ***********************
>
>
>
>
>
>
>
>
> ~~~~~~~~~~~~ Andy Robertson telephone mobile 0777 214 9545 home
> 01308 420797
>
>
>
> -----IBM Mainframe Discussion List <[email protected]> wrote:
> -----
>
>
> To: [email protected]
> From: David Crayford <[email protected]>
> Sent by: IBM Mainframe Discussion List <[email protected]>
> Date: 06/23/2009 11:41AM
> Subject: Re: And you ask why I hate OMVS?
>
> Barbara Nitz wrote:
> > My shutting down the fork service brought WBIFN to a halt, and
> > probably rightly so. On the other hand, a 'real' MVS component
> > would have had recovery in place with provisions for that service
> > happening and
>
> terminating all
>
> > on its own. Just think of the lengths IMS goes to *not* to have an
> > MPR canceled from under it!
>
> IMS and it's BPE framework has it's hooks firmly in OMVS. IMS Connect
> cannot run without it. An IMS Java MPP/BPP requires OMS (anybody
> using IMS Java?). As Aussie Shane noted, the horse has bolted (you
> just can't avoid it).
>
> BTW, I enjoy reading your posts very much. You are obviously a good
> value expert. There's nothing better than a customer use case when
> things suck. IBM should take notice!
>
> ---------------------------------------------------------------------
>- 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
>
> *********************************************************************
>* This email is confidential and may contain copyright material of the
> John Lewis Partnership. If you are not the intended recipient, please
> notify us immediately and delete all copies of this message. (Please
> note that it is your responsibility to scan this message for
> viruses). Email to and from the John Lewis Partnership is
> automatically monitored for operational and lawful business reasons.
> *********************************************************************
>*
>
> John Lewis plc
> Registered in England 233462
> Registered office 171 Victoria Street London SW1E 5NN
>
> Websites: http://www.johnlewis.com
> http://www.waitrose.com
> http://www.greenbee.com
> http://www.johnlewispartnership.co.uk
>
> *********************************************************************
>*
>
> ---------------------------------------------------------------------
>- 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
----------------------------------------------------------------------
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