Executing DS jobs
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
Executing DS jobs
Hi,
Is it possible to execute DataStage jobs(exe's) without connecting to the DataStage Server at all. I didn't think this was possible, but one of our consultants thought that this is possible as long as the proper dll's were copied as well. He suggested to management that we could create EXE's on our DataStage environment(windows platform) and then have them execute on a UNIX platform w/out connecting to the DS server.
I just browsed the section in the developers guide about writing DataStage API applications and it all execution depends on connecting to the DS server.
Thanks - - John
Is it possible to execute DataStage jobs(exe's) without connecting to the DataStage Server at all. I didn't think this was possible, but one of our consultants thought that this is possible as long as the proper dll's were copied as well. He suggested to management that we could create EXE's on our DataStage environment(windows platform) and then have them execute on a UNIX platform w/out connecting to the DS server.
I just browsed the section in the developers guide about writing DataStage API applications and it all execution depends on connecting to the DS server.
Thanks - - John
-
- Premium Member
- Posts: 503
- Joined: Wed Jun 29, 2005 8:14 am
Re: Executing DS jobs
Well, i do not kanow what you mean by saying "connecting" to the server , but yes running the jobs without "logging in" in any of the client tool is possible through command line.
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
You need to connect to Datastage server..if you shut the server down by uv -admin stop then you cannot execute a datastage jobJPalatianos wrote:My question actually boils down to.......
You shut down the DataStage Server....could any of the jobs be executed on another machine?
You can do it from scripts..you have to do a
cd $DSHOME
. ./dsenv
cd $DSJOBPATH
where DSHOME is where your Datastage Enine is and DSJOBPATH where the datastage is installed..
DSHOME="/opt/ds/Ascential/DataStage/DSEngine"
DSJOBPATH="/opt/ds/Ascential/DataStage"
Thenfrom that path you have to call the job using a DSJOB -RUN command
Avishek Mukherjee
Data Integration Architect
Chicago, IL, USA.
Data Integration Architect
Chicago, IL, USA.
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There are two other DLLs that you have to install with your dsjob executable. The Server Job Developer's Guide describes the process of deploying dsjob to other machines.
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.
Jobs are compiled as subroutines, called by a "stub" program DSD.RUN executing from a DS Engine shell program (currently called uvsh. There is no separating jobs from the DS Engine. Furthermore, you'd lose all of the engine bin stuff, which is kind of needed. Furthermore, the projects must exist 'cause that's where the logs and stuff go. I could keep going, but you get the point.
Sorry, you've gotten bad advice.
PS. Ignore Ray's comment , I think he thought you were talking about dsjob, not jobs themselves. [/u]
Sorry, you've gotten bad advice.
PS. Ignore Ray's comment , I think he thought you were talking about dsjob, not jobs themselves. [/u]
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
True. I was.
There ain't no such thing as a DataStage EXE, as Ken has pointed out. DataStage server jobs are best thought of as executing in a virtual machine called the "DataStage run machine". You can only run DataStage jobs where this is installed.
But you can remotely execute using dsjob (which is where I was coming from).
There ain't no such thing as a DataStage EXE, as Ken has pointed out. DataStage server jobs are best thought of as executing in a virtual machine called the "DataStage run machine". You can only run DataStage jobs where this is installed.
But you can remotely execute using dsjob (which is where I was coming from).
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.
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am