Page 2 of 2

Posted: Thu Apr 25, 2013 2:54 am
by jerome_rajan
My only issue is that if it were indeed the width of the columns causing the problem then the script ought not to have returned true even once!

Posted: Thu Apr 25, 2013 10:12 am
by jwiles
ps u g eww
or
ps u x eww

would provide an AIX equivalent to ps -efww

Regards,

Posted: Thu Apr 25, 2013 11:41 am
by rameshrr3
I not sure if im helping you , how are you invoking the first job in the control ? Are you using

Code: Select all

dsjob -run
or

Code: Select all

dsjob -run -wait 
? The latter will return a status only after completion of the job being invoked and would be the preferred method.

Polling with a while loop may cost you more cpu cycles!

Posted: Thu Apr 25, 2013 1:55 pm
by PaulVL
jerome_rajan wrote:My only issue is that if it were indeed the width of the columns causing the problem then the script ought not to have returned true even once!
Your job name is a dynamic length after all and it may reside upon the borderline of being chopped.

(test and see)

run your command in a nice size window.

resize window smaller, try again.

add the options James gave for a wide ps output, wash rince repeat.

Also... please paste the syntax you are using for the dsjob -run command.