Are there any unix commands to compile Ds jobs. If so can some please tell.
somthing like dscompile.... etc
how to compile jobs thru unix commands and which one to use.
Moderators: chulett, rschirm, roy
how to compile jobs thru unix commands and which one to use.
Happy DataStaging
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Even the routine requires knowledge about the internal architecture of DataStage that is not in the public domain.
The safer answer is a plain NO.
There are some job compilation utilities available, including the multi-job compile that now ships with DataStage.
The safer answer is a plain NO.
There are some job compilation utilities available, including the multi-job compile that now ships with DataStage.
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.
Osh code is generated by the client, ie Designer, so no unix commands can help you to compile here. Remember you should use "force compile" to ensure the entire job is compiled.
Why is your "reset job" not working? Simply generating the same osh should have no benefit for you. I would urge you to revisit the job sequencer options.
Why is your "reset job" not working? Simply generating the same osh should have no benefit for you. I would urge you to revisit the job sequencer options.
As already noted, what you want to do is reset aborted jobs, not recompile them. Whatever you are using for Job Control should be able to handle that automatically. For example, Sequencer jobs can be set to 'Reset Then Run' or hand code can do something similar.dsxdev wrote:My requirement is to compile a job which is in aborted state and not all.
You could even accomplish this from a command line script by using the output of the dsjob command. The "-jobinfo" option will get you the current status and if the job is aborted you can use the "-run -mode RESET" option to get it reset.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The Multiple Job Compile tool allows you to be selective about which jobs to compile. For example, you can select only uncompiled jobs.
While it's not clear directly how to select aborted jobs in this tool, I think it's worth investigating.
While it's not clear directly how to select aborted jobs in this tool, I think it's worth investigating.
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.