dsjob -run -param

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

dsjob -run -param

Post by dnat »

hi,

i am passing insert , update statements as parameters in a job. When i run it through director, there are no issues. But when i try to run it through command prompt via a dsjob command, it is giving me the following error:-
ksh: 0403-057 Syntax error: `(' is not expected.

my command is like this dsjob -run -param INSER_SQL = INSERT INTO CLIENT(ID) VALUES(ORCHESTRATE.ID)
deanwalker
Participant
Posts: 82
Joined: Tue Jan 22, 2008 10:37 am
Location: UK

Post by deanwalker »

Quote the whole parameter.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No spaces around the "=", either.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

Post by dnat »

i used quotes and i removed the spaces around the "=". No i am getting this error.

Error -3 getting information for parameter 'INSER_SQL'

Status code = -3 DSJE_BADPARAM
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

It looks like your job has no INSER_SQL parameter.
Post Reply