Regarding DSUtility
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
Regarding DSUtility
Hi Gurus,
As this is concerned with different utility iam starting new post, kindly help me.
As my parameters are used by different stages.
How can i know which stage uses particular parameter.i want this to know from my operating system, i mean is there any DSutility which helps me.
kindly can Gurus post that.
cheers;
vijay
As this is concerned with different utility iam starting new post, kindly help me.
As my parameters are used by different stages.
How can i know which stage uses particular parameter.i want this to know from my operating system, i mean is there any DSutility which helps me.
kindly can Gurus post that.
cheers;
vijay
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
Why do you want to do that using utility, you can just generate report from the designer which will give you a detail report about each stage.The option will be available on the designer toolbar (Internet explorer symbol).
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Thomas Alva Edison(1847-1931)
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I have already given you this solution.
Use dsjob to read the first event from the job run from the job log. This contains all of the parameter values with which the job was started.
Use dsjob to read the first event from the job run from the job log. This contains all of the parameter values with which the job was started.
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: 228
- Joined: Tue Oct 03, 2006 7:08 pm
Hi Gurus,
I got all the parameter values with which the job started.
For ex: I have defined 5 parameters in my job.
But iam making use of 3 parameters in Source stage while the transformer stage uses 1 and the target uses 3 parameters.
i want to list the parameters used by particular stage rather than to list the parameters in the entire job.
plz help me.
cheers;
vijay
I got all the parameter values with which the job started.
For ex: I have defined 5 parameters in my job.
But iam making use of 3 parameters in Source stage while the transformer stage uses 1 and the target uses 3 parameters.
i want to list the parameters used by particular stage rather than to list the parameters in the entire job.
plz help me.
cheers;
vijay
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Now you DO have to write some code. You can write DataStage BASIC code, or you can write C code. The latter is harder to write but easier to call from the command line. The DataStage C API is documented in the Server Job Developer's Guide
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.