vikassalvi
MIS
Hello,
I have following input file
BIP8099I: UserNameServer - MQSUA02
BIP8099I: MQSUA02 - MQSUA02
BIP8099I: MQSTA01 - MQSTA01
BIP8099I: MQSUA04 - MQSUA04
BIP8099I: MQSUA99 - MQSUA99
BIP8099I: MQSSA02 - MQSSA02
BIP8099I: MQSTA04 - MQSTA04
BIP8099I: MQSSA04 - MQSSA04
BIP8071I: Successful command completion.
what I want is to get word "UserNameServer" ,"MQSUA02" ...
I mean I want to read Second Column and check each process status ex. "ps -ef | grep MQSUA02" so please help me to write this code
Thank you,
vikas
I have following input file
BIP8099I: UserNameServer - MQSUA02
BIP8099I: MQSUA02 - MQSUA02
BIP8099I: MQSTA01 - MQSTA01
BIP8099I: MQSUA04 - MQSUA04
BIP8099I: MQSUA99 - MQSUA99
BIP8099I: MQSSA02 - MQSSA02
BIP8099I: MQSTA04 - MQSTA04
BIP8099I: MQSSA04 - MQSSA04
BIP8071I: Successful command completion.
what I want is to get word "UserNameServer" ,"MQSUA02" ...
I mean I want to read Second Column and check each process status ex. "ps -ef | grep MQSUA02" so please help me to write this code
Thank you,
vikas