How can I count the number of jobs in my project?
I need to see how many jobs I have in my project. How can I count the number of jobs in my project via the command line or from the DataStage administrator?
Answer
From the InfoSphere DataStage Administrator, click on the project where you want to count the jobs and click the Command button. Next type:
LIST DS_JOBS WITH F5 <> "" F1 DET.SUP
And click Execute.
From a command prompt, cd to the DSEngine directory and source the dsenv file:
. ./dsenv (Unix/Linux Only)
Next go to a uvsh prompt by typing:
bin/uvsh (Unix/Liniux)
bin\uvsh (Windows)
At the ">" prompt type:
LOGTO projectname
LIST DS_JOBS WITH F5 <> "" F1 DET.SUP
Type QUIT to exit the uvsh shell.