Categories
Need to pass username and password parameter on command-line to runcat

Hi Team or Experts,
We have OAS 7.6.0 and need help with the below command:-
In runcat.sh to archive the catalog it which needs the credentials to be present in the file but instead we want to use -username and -passwords as we have different credentials for different environments.
So let us know how to pass those variables instead of adding them in a credentials file.
Regards,
Best Answers
-
Hi
Welcome to the Oracle Analytics community!
You can use the following command to see the help and usage syntax for archivingruncat.sh -cmd archive -help
orruncat.cmd -cmd archive -help
How To Use runcat.sh With Oracle Analytics Server In Online Modes (Doc ID 3082921.1)
You will need to use the credentials file.
You may be able to use some third-party scripting (such as Python) to wrap the command and update the file.
Helpful examples
Archive And Unarchive Online Runcat Commands: How To Migrate Last Modified Catalog Objects From Source To Target (Doc ID 2891155.11 -
Hi Jayaprakashredduy,
I guess in a round-a-bout way, I was stating that the option does not exist; else, it would be documented in the syntax usage.
I think your best option is to create a wrapper script.
For features that are not available, you can file an Idea Lab request (enhancement) for the product for future consideration.
Thank you for posting your question, other comments most welcomed.
PS: I edited your output above to remove your internal server information.0
Answers
-
Hi Steve,
Thank you for the Doc ID's and I am aware of the commands to be used but I need something like below:-
./runcat.sh -cmd archive -online http://server.domain:9502/analytics-ws/saw.dll -folder /shared/BOP/_portal -outputFile /home/oracle/Rotation.Catalog -user xxxx -password xxxxx
Instead of passing the credentials in a text file as we have different credentials for different enivironment.
Regards,
User_30X4R0 -
Hi Steve,
Could you please file an enhancement bug for the same for future releases.Also could you please provide was with any wrapper script for the same.
Regards,
User_30X4R
0 -
Customers are able to file their own enhancement requests via the Ideas lab.
You can also search and up-vote/comment on any existing request.
How To Create An Enhancement Request In Idea Lab For Oracle Analytics (Doc ID 2662737.1)
Creating a wrapper script is a customization that I could not provide.0