Calling OSH scripts from DataStage
Moderators: chulett, rschirm, roy
Calling OSH scripts from DataStage
How could I call an OSH script from DataStage? Thx
As I understand it, you can run any Unix command from within DataStage, that would include an OSH script. An OSH script is a stand-alone process. If it can be run from the command line, it can be run from DataStage.
Now, I have not created any jobs that call Unix programs, so you will need to rely on someone else for the inevitable 'How To' question.
Brad.
Now, I have not created any jobs that call Unix programs, so you will need to rely on someone else for the inevitable 'How To' question.
Brad.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The easiest method would be to use an Execute Command activity in a job sequence.
You almost certainly do not want to call an osh script from within a job stream, because the script would then need to be invoked, start up, execute and finish for every row processed by that job.
You almost certainly do not want to call an osh script from within a job stream, because the script would then need to be invoked, start up, execute and finish for every row processed by that job.
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.