how do i find Project directory using unix command line
Moderators: chulett, rschirm, roy
how do i find Project directory using unix command line
I would like to know is there a way to find where is Project directory using Unix command line option, i need know this to use this path in a shell script.
By default the projects are located in $DSHOME/../Projects/{YourProjectName}. If the projects are located elsewhere, the command
will give the path on line 4 of the output.
Code: Select all
dssh "LIST UV.ACCOUNT ID.SUP PATH FMT 64L WITH @ID EQ '{YourProjectName}'"
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
cd `cat /.dshome`
. ./dsenv
dssh "SELECT SCHEMA_NAME, PATH FROM UV_SCHEMA WHERE SCHEMA_NAME = '<<Project Name>>';" << eof
QUIT
eof
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.