When issuing the following command in administrator;
SELECT NAME FROM DS_JOBS WHERE CATEGORY = '\Jobs\EDW\ICMS'
I would like to write the results into a file for future reference. Is there a way.
Thanks in advance
DSJOBS - Command Line
Moderators: chulett, rschirm, roy
DSJOBS - Command Line
Jim Stewart
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can use standard redirection operator. For example:
Code: Select all
cd $ProjectDir
$DSHOME/bin/dssh "SELECT NAME FMT '60L' FROM DS_JOBS WHERE CATEGORY = '\Jobs\EDW\ICMS';" > filepath
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.