Page 1 of 1

how to compile jobs from UNIX prompt

Posted: Thu Sep 25, 2003 6:34 pm
by dsproj2003
Hi,

I have Datastage PX 6.0

I understand that jons reside in dir $dshome/Projects/.
-Can I access my jobs from this dir?
-How do I compile jobs from UNIX prompt?
-If so, then can I compile multiple (or all) jobs in one project using a single command/ script?

Thanks in advance for a prompt reply.

Regards,
Nitin

Posted: Thu Sep 25, 2003 10:04 pm
by ray.wurlod
No facility is provided by Ascential for compiling jobs from the command line on the DataStage server.
The CompileAll tool, available from this site, can be used to institute multiple job compilations (via standard Windows multi-select).

As for accessing your jobs from the Projects directory, this is only the default location; project directories can be created anywhere except in the root file system. The mechanism for accessing (as in interrogating and running) jobs from the server is via the dsjob command line interface.

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518

Posted: Thu Sep 25, 2003 10:39 pm
by kduke
Nitin

This has been covered in http://www.tools4datastage.com/forum/to ... C_ID=84630.

Kim.

Kim Duke
DsWebMon - Monitor DataStage over the web
www.Duke-Consulting.com

Posted: Fri Sep 26, 2003 4:37 am
by ray.wurlod
Kim,

Not 100% certain that utility would work for PX jobs.

Ray

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518

Posted: Mon Oct 06, 2003 12:30 pm
by bigpoppa
Nitin,

For files ending with .osh, they are typically already "compiled". OSH is actually a scripting-like language that can be interpreted by the osh command. Typically, generated .osh files include an osh command followed by the OSH script, and these files can be run like any executable UNIX script provided that your runtime environment has all the necessary APT_* environment vars set.

HTH,
BP