execute DS Basic from a shell script

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
spracht
Participant
Posts: 105
Joined: Tue Apr 15, 2003 11:30 pm
Location: Germany

execute DS Basic from a shell script

Post by spracht »

Is it possible to have a unix shell script attaching to a DataStage project and querying the project properties using basic functions like, I guess it's name was DSGetProjektInfo? If yes, how would it look like?

Stephan
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Use the command line interface program --> dsjob

This program is in your DSEngine directory, as well as thoroughly documented in your online documentation. You should also search the archives, both Oliver and this forum for the discussion regarding this utility.

Kenneth Bland
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you use the command with insufficient command line options, for example "dsjob" or "dsjob -run", it displays the required syntax.

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
Post Reply