Page 1 of 1

Datastage jobs

Posted: Fri Jul 23, 2004 12:56 pm
by waitnsee
People say the server job is designed on windows NT and run on unix. How do you run a datastage job in unix?

Posted: Fri Jul 23, 2004 6:42 pm
by kduke
The DataStage Designer is a Windows client based product so in some sense all jobs are designed on Windows. The jobs are all run on either Windows or UNIX servers. The jobs should run on either. PX did not run on Windows until recently because it was originally built as a UNIX based product and has been retrofited to Windows.

datastage jobs

Posted: Sun Jul 25, 2004 12:44 pm
by waitnsee
what command do you use to run datastage jobs in unix? Is there any specific methodology for that? please explain to me in detail.

Posted: Sun Jul 25, 2004 12:57 pm
by kduke
The jobs run on the server. If your DataStage server is a UNIX box then they run there. If it is a Windows box then they run on it. There is the dsjob command to start jobs in either UNIX or Windows as well but the jobs actually run on the server.

Posted: Mon Jul 26, 2004 3:32 am
by ray.wurlod
I think the point you're missing is that DataStage is client/server computing. Even though you are working on a PC, what you're actually doing while you're importing metadata, designing and so on is being stored on another computer, which may be UNIX or may be Windows.

If you issue a Run request from your Director client, DataStage responds with a message that "a request has been submitted to the server". This is a big clue. The job runs on that other computer, called the DataStage server machine. It may be UNIX, it may be Windows; except for the existence of drive letters in pathnames, there aren't many ways for you to tell what operating system your DataStage server machine has.

To request the run of a DataStage job from the operating system the command is dsjob, whether you're on a UNIX machine or a Windows machine. DataStage is very portable; even server job compiled code can be moved from one server machine to another, and will run.