Page 1 of 1

Attaining job required parameters from a Unix shell script

Posted: Mon Jun 27, 2005 2:56 pm
by charles.craig@physiciansm
Is there a way to attain job required parameters from a Unix shell script? I know I can get some job information using:

Job_Info=`dsjob -jobinfo DSProject DSJob`

Status code = 0
Job Status : NOT RUNNING (99)
etc...

But this does not show that the job requires two parameters when called, I.E. file_name1, file_name2

Thank you for any advice

Posted: Mon Jun 27, 2005 3:00 pm
by chulett
Use "dsjob -paraminfo" instead.

Posted: Mon Jun 27, 2005 3:19 pm
by charles.craig@physiciansm
Actually, -lparams was what I desired:

Job_Params=`dsjob -lparams DSProject DSJob`

Status code = 0
file_name1
file_name2

Thank you for your help Craig. You set me on the right path!

I like your recent headline Craig

Posted: Mon Jun 27, 2005 3:26 pm
by charles.craig@physiciansm
chulett wrote:"Apathy Sweeping Nation, No One Cares"
How about:
"I joined the team and was met with ignorance and apathy." Well, what are you going to do about it? "I don't know and I don't care." :wink:

Re: I like your recent headline Craig

Posted: Mon Jun 27, 2005 3:30 pm
by chulett
charles.craig@physiciansm wrote:"I joined the team and was met with ignorance and apathy." Well, what are you going to do about it? "I don't know and I don't care." :lol:
:lol:

Sorry for the wrong answer, at least (as you said) I got you pointed in the right direction. :wink:

Posted: Mon Jun 27, 2005 4:17 pm
by kduke
Ray man is too tired to say apathy serks.