Hi
As we know we can create value set in the datastage and we can pass value set as one of the parameter in dsjob command from shell script.
Is it possible to change the value of one of the parameters of a value set in shell script?
**Note - Subject modified to be more descriptive - Content Editor **
Can I change a parameter in a value set at runtime?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not sure what you're asking here. Is the question about a "values file" read by a Parameter Set?
If so, when do you want to make the change? Can you give an example?
There is one absolute. Once a job is running, values of that job's parameter can not legally be changed.
If so, when do you want to make the change? Can you give an example?
There is one absolute. Once a job is running, values of that job's parameter can not legally be changed.
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.
Yes. It is regarding the values file read by parameter set. I want to make changes before we kick off the job from script so that datastage job can run with the new values what we have set from script.ray.wurlod wrote:Not sure what you're asking here. Is the question about a "values file" read by a Parameter Set?
If so, when do you want to make the change? Can you give an example?
There is one absolute. Once a job is running, values of that job's parameter can not legally be changed.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
That's fine, so long as you edit the values file (including saving changes and closing the file) before you kick off the DataStage job whose parameter set reads the values file.
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.
I am talking about the value set which was created in datastage designer. Can we change the value of value set at script level before kicking of the job? If yes, How?ray.wurlod wrote:That's fine, so long as you edit the values file (including saving changes and closing the file) before you kick off the DataStage job whose parameter set reads the values file.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
So am I. Creating the Parameter Set causes an eponymous directory to be created in the project directory, and if you create values files these are stored in that directory as ordinary text files. Therefore you can edit them.
I will be presenting a DSXchange Learning Center webinar on Parameter Sets on Friday, February 20th. You will receive an invitation.
I will be presenting a DSXchange Learning Center webinar on Parameter Sets on Friday, February 20th. You will receive an invitation.
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.