Protect or Unprotect a project in DS 8.1 - Is there a way to script this task so that we can avoid the usage of the Administrator client to do this?
What I am trying to do is write a small script that could be run by dsadm or root when a project needs to be protected or unprotected.
The project name and protect/unprotect switch will be passed to the script as parameters.
Is this do-able? If yes, whats the Unix command to protect/un-protect a project?
Appreciate your help.
Protect or Unprotect a project in DS 8.1
Moderators: chulett, rschirm, roy
See the last option...
Code: Select all
C:\Programme\IBM\InformationServer\Server\DSEngine\bin>dsadmin /?
Invalid/unknown primary command switch.
Command Syntax:
dsadmin [-file <file> <domain> <server> | -domain <domain> -user <user> -
password <password> -server <DataStage server>]
<primary command> [<arguments>]
Valid primary command options are:
-createproject
-deleteproject
-oshvisible
-enablercp
-enablejobadmin
-envadd
-envdelete
-envset
-advancedruntime
-basedirectory
-deploymentdirectory
-customdeployment
-listprojects
-listproperties
-listenv
-enablegeneratexml
-protectproject
Status code = -9999
Last edited by ArndW on Thu Aug 19, 2010 9:10 am, edited 1 time in total.
4.5 year old post, but was incomplete...
The -protectproject option has a TRUE or FALSE argument required.
The -protectproject option has a TRUE or FALSE argument required.
Code: Select all
$DSHOME/bin/dsadmin -protectproject
Invalid arguments: dsadmin -protectproject TRUE | FALSE <project name>
Choose a job you love, and you will never have to work a day in your life. - Confucius