We have a simple parallet job
Src File --> Transformer --> Oracle Table
First we had all the parameters deifned in the job and all the values are passed at runtime via a unix script and it all works fine.
Now we added a Parameter Set to this job instead of defining the parameters in it and am trying to run the job the same way by passing parameter values at runtime once the job is triggered via a script but we get this error
Error -3 getting information for parameter 'pProcessDate'
Status code = -3 DSJE_BADPARAM
dsjob run command Status= 255
pProcessDate is the first parameter defined in the parameter set. So it means the values are not being assigned to it.
On settting default values in the parameter set does not help either and we still get the same error.
Has anyone faced a similar issue and if yes how was it resolved?
Parameter Set - Assigning Values as Runtime via script
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
Re: Parameter Set - Assigning Values as Runtime via script
How are you assigning the values to the parametr set, PS work differently. Th values are alreday defined and one needs to pass the value file name in the script when calling the parameter set.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The error message indicates that whatever value is being passed to pProcessDate is not a valid date or is not a valid date format. What is your default date format? (It's probably YYYY-MM-DD.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Please explain exactly how you're doing that.
You can not simply "set" the value of a parameter in a parameter set externally, other than when you're creating it.
What you can do is declare the parameter set to have one or more values files, and write to those files, then declare the file name to be the "value" of the Parameter Set when the job run request is issued.
You can not simply "set" the value of a parameter in a parameter set externally, other than when you're creating it.
What you can do is declare the parameter set to have one or more values files, and write to those files, then declare the file name to be the "value" of the Parameter Set when the job run request is issued.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.