Many thanks for visiting my Blog..!!Please share this blog using below share buttons and leave your Comments/Feedback/Appreciations on Tab: Feedback
Share This Blog..!!

Create/Delete/View DS Projects Using Command

DSADMIN Command to Create/Delete/View Datastage Projects from Command line Unix/Linux
This post will help you to understand Create/Delete and View of DataStage Projects from command line[Unix].

Note : Always use DSADM user to create or delete projects.

Check List Of Datastage Projects from Command Line:
--------------------------------------------------------------------

DSHOME=`cat /.dshome`;
echo $DSHOME

DSHOME=`cat /.dshome`
cd $DSHOME
. ./dsenv
cd ./bin
./dsjob -lprojects    =>{ For Listing the Datastage Projects}
./dsjob -ljobs project   =>{ For Listing the Datastage Jobs in given Project}


Create Projects From Command Line
-----------------------------------------------

DSHOME=`cat /.dshome`
cd $DSHOME
. ./dsenv
cd bin
./dsadmin -domain XYZ1234 -user dsadm -password dsadm -server XYZ1234 -createproject Test1 -location /tmp/Test1

Syntax : ./dsadmin -domain [domain] -user [user] -password [password] -server [server] -createproject [project name] -location [prjoect path/NewProjectName];



Delete Projects From Command Line
-----------------------------------------------

DSHOME=`cat /.dshome`
cd $DSHOME
. ./dsenv
cd bin
./dsadmin -domain XYZ1234 -user dsadm -password dsadm -server XYZ1234 -deleteproject Test1
Syntax : ./dsadmin -domain [domain] -user [user] -password [password] -server [server] -
deleteproject [project name];


No comments:

Post a Comment

disqus