Hi all,
Anyone can tell me, how to run a datastage routine from unix shell script
Thanks
call routine from unix
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It is not possible to run a routine from a shell script because there exists no argument passing mechanism.
When you test a routine in the routine editor, it actually builds a "test bed" (a main program) that is used for passing the arguments from the test grid. This test bed program is discarded when you close the Test window.
To emulate this you would need to create a similar DataStage BASIC program and to compile it. There is no mechanism in the client tools for creating PROGRAM modules in DataStage BASIC, though it can be done on the server. Full information is given in the DataStage BASIC manual, but you're stepping outside the bounds of the product.
In the next version this approach (of building PROGRAM modules on the server) is unlikely to be supported by the service-oriented architecture.
When you test a routine in the routine editor, it actually builds a "test bed" (a main program) that is used for passing the arguments from the test grid. This test bed program is discarded when you close the Test window.
To emulate this you would need to create a similar DataStage BASIC program and to compile it. There is no mechanism in the client tools for creating PROGRAM modules in DataStage BASIC, though it can be done on the server. Full information is given in the DataStage BASIC manual, but you're stepping outside the bounds of the product.
In the next version this approach (of building PROGRAM modules on the server) is unlikely to be supported by the service-oriented architecture.
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.