Error with DSJOB command
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 48
- Joined: Fri Feb 29, 2008 1:09 am
- Location: Bangalore
Error with DSJOB command
Hi,
I am trying to run the job using dsjob command and passing parameter
for a job form command line
i gave this command
./dsjob -run -param ACT_L00_TRG=/home/singamar/pivot.txt project name jobname
and i am getting this error
Error -3 getting information for parameter 'ACT_L00_TRG'
Status code = -3 DSJE_BADPARAM
can any help me
Thanks
Swathi
I am trying to run the job using dsjob command and passing parameter
for a job form command line
i gave this command
./dsjob -run -param ACT_L00_TRG=/home/singamar/pivot.txt project name jobname
and i am getting this error
Error -3 getting information for parameter 'ACT_L00_TRG'
Status code = -3 DSJE_BADPARAM
can any help me
Thanks
Swathi
Thanks&Regards
S.Swathi
S.Swathi
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 48
- Joined: Fri Feb 29, 2008 1:09 am
- Location: Bangalore
ray.wurlod wrote:There is no job parameter named ACT_L00_TRG in the job called jobname. ...
i am using that parameter in the job
do i need to specifiy $ before the paramater name
i.e
./dsjob -run -param $ACT_L00_TRG=/home/singamar/pivot.txt DMSYNC pivot1
and do i need to specify default value for that parameter in the job
Thanks&Regards
S.Swathi
S.Swathi
-
- Participant
- Posts: 48
- Joined: Fri Feb 29, 2008 1:09 am
- Location: Bangalore
ArndW wrote:No $ sign should be used. Are those "0" or "O" in your parameter name? ...
No its "0" in the parameter name.
when i used $ symbol before the parameter name i am getting
This error
Error -3 getting information for parameter ''
Status code = -3 DSJE_BADPARAM
which is different from eralier error
Error -3 getting information for parameter 'ACT_L00_TRG'
Status code = -3 DSJE_BADPARAM
Thanks&Regards
S.Swathi
S.Swathi
The error is different because the shell is expanding $ACT_L00_TRG as if it were a variable, and it presumably isn't set to anything hence ''.swathi Singamareddygari wrote:
when i used $ symbol before the parameter name i am getting
This error
Error -3 getting information for parameter ''
Status code = -3 DSJE_BADPARAM
which is different from eralier error
If you want to pass environment variables you'll need to delimit the param with single quotes e.g.
-param '$APT_STRING_PADCHAR'='0x20'
No, you're not or it would be working. And no, you don't need a dollar sign, just the right parameter name.swathi Singamareddygari wrote:i am using that parameter in the jobray.wurlod wrote:There is no job parameter named ACT_L00_TRG in the job called jobname. ...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers