Page 1 of 1

What is the command to compile the job?

Posted: Sat Sep 01, 2007 1:31 pm
by hitmanthesilentassasin
Hi,

Is it possible to compile the job from the command line? If Yes, then what is the command?

Thanks,
Hitman

Posted: Sat Sep 01, 2007 7:59 pm
by kduke

Code: Select all

SET DSCompileCmd=C:\Progra~1\Ascential\DataStage7.5.1\dscc.exe

%DSCompileCmd% /h %Host% /u %User% /p %Password% %Project% /j %%i /f >> %LogFileName% 
This is straight out our script to compile jobs.

Posted: Sun Sep 02, 2007 3:19 am
by hitmanthesilentassasin
Will the same command work on unix/Linux machines? Currently i dont have access to the ds. I know its too basic to be asked, since i dont have the access to the server so I am a bit crippled.

THanks,
Hitman

Posted: Sun Sep 02, 2007 8:18 am
by chulett
It's a client command, so no. And there's no way to do this directly on the server that I am aware of.

Posted: Mon Sep 03, 2007 1:53 am
by hitmanthesilentassasin
what could possibly be an alternative solution for this???

Posted: Mon Sep 03, 2007 2:31 am
by ray.wurlod
Some kind of remote shell program on the UNIX machine to run the program on the client?

Posted: Mon Sep 03, 2007 3:15 am
by hitmanthesilentassasin
I am not really sure about this solution, because incase, if you dont have access to the remote machine this will fail. can we not build a script to compile the job?

Posted: Mon Sep 03, 2007 4:46 pm
by ray.wurlod
Because there is no command on the server that can be used to compile a job.

Posted: Fri Oct 19, 2007 9:15 am
by jdmiceli
Can I complicate this further?? :oops:

I have a similar situation where I need to compile around 2000 jobs. We use a distributed environment, so there are no client installs on our individual development machines. Instead, we access the development tools through Citrix (v4 I think). Any ideas on that one since there is nothing from the server side (AIX Unix)?

As always, your help is appreciated!

Posted: Fri Oct 19, 2007 9:23 am
by jdmiceli
Can I complicate this further?? :oops:

I have a similar situation where I need to compile around 2000 jobs. We use a distributed environment, so there are no client installs on our individual development machines. Instead, we access the development tools through Citrix (v4 I think). Any ideas on that one since there is nothing from the server side (AIX Unix)?

As always, your help is appreciated!

Posted: Fri Oct 19, 2007 9:45 am
by jdmiceli
Never mind! I found a way. If you are not married to the command line option, you can use DataStage Manager to do a Multi Job compile. It is under the Tools menu, then choose 'Run Multiple Job Compile'.

Works like a champ!