to import and compile datastage jobs in UNIX

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
neo637
Participant
Posts: 9
Joined: Thu Jul 31, 2008 2:56 am

to import and compile datastage jobs in UNIX

Post 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
Scope
Premium Member
Premium Member
Posts: 63
Joined: Wed Jun 06, 2007 6:38 am
Location: Chennai

Post 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
Kumarez
LenGreenwood
Premium Member
Premium Member
Posts: 37
Joined: Mon Dec 08, 2008 4:02 am
Location: Milton Keynes, UK

Post 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.
Post Reply