ADSM-L

Re: BACKUPSET DELETE PROBLEM

2000-11-09 16:23:10
Subject: Re: BACKUPSET DELETE PROBLEM
From: Nicholas Cassimatis/Raleigh/IBM <nickpc AT US.IBM DOT COM>
Date: Thu, 9 Nov 2000 16:12:23 -0500
You can run an ADSM admin session from your script, and do whatever you
like with the output.  You can store the password in a file, then read the
file contents into a variable, to keep the password out of the script (on
AIX, using a tool like SUDO, any user can run the script, but only the root
user can read the file the password is stored in.  Something like this:

PASSWORD='cat /home/root/adsmpw'
"dsmadmc -id=USERID -pass=$PASSWORD "macro macroname"

Nick Cassimatis
nickpc AT us.ibm DOT com

"I'm one cookie away from happy." - Snoopy (Charles Schulz)
<Prev in Thread] Current Thread [Next in Thread>