Regarding Executing jobs in Unix
Moderators: chulett, rschirm, roy
Regarding Executing jobs in Unix
Hi,
I want to run jobs in UNIX Platform
I want to run jobs in UNIX Platform
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
So do lots of folks. The first thing you need is a DataStage server installed on that UNIX platform. Do you have that? Once you have that, investigate the dsjob command.
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.
As suggested by previous posters, once you have server part installed on UNIX platform, you can run the DSJOBS command to run your job through unix (or you can run through director if needed).
If you want to pass parameters to jobs, either you can create the PROJECT LEVEL parameters through ADMINISTRATOR and then read those parameters in DSJOBS command
OR
You can store all your parameter in a text file in UNIX and read the file from the script that execute your job.
If you want to pass parameters to jobs, either you can create the PROJECT LEVEL parameters through ADMINISTRATOR and then read those parameters in DSJOBS command
OR
You can store all your parameter in a text file in UNIX and read the file from the script that execute your job.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hiray.wurlod wrote:It's dsjob (lower case, no trailing "s"). ...
I am trying with the following command
dsjob -run -jobstatus projectname jobname
but i am not able to run the job
wat jobstatus means.
the job which i am running doesnot contain any parameters.
and one more thing when the following command is used
int DSRunJob(
DSJOB(JobHandle,
int RunMode
);
whether this command is used in Job Control
-
- Participant
- Posts: 147
- Joined: Sat Apr 30, 2005 1:23 am
- Location: Bangalore,India
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You are getting that from what? You've never explained exactly how you are 'running' this command. A script? Bat file? Hand? Cron? Control-M? A solid gold Khama Sutra coffee pot or... a baby's arm holding an apple. (sorry)
ps. You haven't managed to run anything, let alone attempted to execute the dsjob command if your error is 'command not found'. And since you've hi-jacked this thread rather than start your own, we don't even know what Operating System or release of DataStage we're dealing with.![Evil or Very Mad :evil:](./images/smilies/icon_evil.gif)
ps. You haven't managed to run anything, let alone attempted to execute the dsjob command if your error is 'command not found'. And since you've hi-jacked this thread rather than start your own, we don't even know what Operating System or release of DataStage we're dealing with.
![Evil or Very Mad :evil:](./images/smilies/icon_evil.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers