TCL Commands

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
bala_135
Premium Member
Premium Member
Posts: 156
Joined: Fri Oct 28, 2005 1:00 am
Location: Melbourne,Australia

TCL Commands

Post by bala_135 »

Hi,

I am trying in IBM Information server the following.Just to try TCL commands through scripting.

cd to the bin directory of the dsengine
typing the following command.
./dssh.exe SELECT * FROM DS_JOBS > file4.txt

Just testing on the TCL commands.

File gets generated but could not see any data.
Anything I am missing here.Any inputs most appreciated.

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

Post by ray.wurlod »

DataStage SQL requires the terminating semi-colon.
Also you must be working in the project directory.

Code: Select all

cd $projectdir
%DSHOME%\bin\dssh "SELECT * FROM DS_JOBS;" > file4.txt
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply