Tuesday, June 14, 2011

InfoSphere DataStage Command Line Interfaces - Series 2 "dsadmin"

To continue my previous post on DataStage CLI methods, let me take it forward from Job Level to Project Level. As discussed earlier InfoSphere DataStage CLI connects to the engine on the local system using the user name and password of the user running the command. This is the 1st step happens as part of dsadmin or any other command line interface. Followed by this we can use multiple options which can be triggered from dsadmin.
"dsadmin" can be used to create a project, delete a project, enable or disable the Generated osh display. dsadmin even can be used to enable/disable RCP (run time column propagation). dsadmin also instrumental in displaying all environment details, add any new environment variable or delete an existing variable. dsadmin also can be used to display all projects and Project properties.
Here are few dsadmin options.
dsadmin -listprojects | -listproperties ProjectName | -listenv ProjectName 
dsadmin -createproject ProjectName [-location ProjectLocation] | -deleteproject ProjectName
dsadmin -oshvisible TRUE | FALSE ProjectName
dsadmin -enablercp TRUE | FALSE ProjectName
dsadmin -enablejobadmin TRUE | FALSE ProjectName
dsadmin -enablegeneratexml TRUE | FALSE ProjectName
Detail information about dsadmin and its options can be referred from dsadmin listing
Disclaimer: The postings on this site are my own and don't necessarily represent IBM's positions, 
strategies or opinions 

No comments:

Post a Comment