hi,
Can anybody tell me how can I get the list of job names. I am writing a shell script. I need to display list of job names in a particular project when the script is executed.
Please suggest me.
Thanks in advance.
Getting List of job names from script.
Moderators: chulett, rschirm, roy
Getting List of job names from script.
Devlopers corner
Hi Tom,
It has been discussed lot many times. There are several ways of doing it.
It has been discussed lot many times. There are several ways of doing it.
Code: Select all
dsjob -ljobs <project> - from command prompt.
SELECT NAME FROM DS_JOBS WHERE NAME NOT LIKE '\\%' - from TCL prompt.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
Use the following command:
You might find the other options useful (Type dsjob with no parameters for a list)
HTH
J.
Code: Select all
dsjob -ljobs <project>
HTH
J.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>