Page 1 of 1

to import and compile datastage jobs in UNIX

Posted: Sun Dec 14, 2008 10:49 pm
by neo637
Hi

How can we import and compile the datastage jobs in Unix?
Are there any unix commands for importing and compiling

Thanks in Advance

Posted: Mon Dec 15, 2008 12:04 am
by Scope
importing job from Unix Server

dsjob -import <project> DSXfile [ [-OVERWRITE] -JOB[S] | jobname ...] | [-LIST]


compiling job from Client


dscc /h <server ip> /u <username> /v <password> <projectname> /j <job name|*> /ouc

Posted: Mon Dec 15, 2008 3:40 am
by LenGreenwood
Trouble is, "dsjob -import" only imports the job executables, not the design-time metadata. So "dscc" would not be able to compile a job imported that way, as there is nothing to compile.

As of DS 8.1 there is a new server-side DSX import service that will run on Unix as well as Windows platforms. But before then you can only use Windows tools, such as dscmdimport.exe, to do a full import from DSX files. And dscc.exe is still a Windows-only command.