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
[EMAIL PROTECTED]

"I'm one cookie away from happy." - Snoopy (Charles Schulz)

Reply via email to