Re: Communicating with dsmadmc via named pipes
2002-08-08 14:03:45
You'll need to use an EXPECT type of module.
http://search.cpan.org/search?module=Expect
Alex Paschal
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail
-----Original Message-----
From: Jurjen Oskam [mailto:jurjen AT QUADPRO.STUPENDOUS DOT ORG]
Sent: Thursday, August 08, 2002 5:13 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Communicating with dsmadmc via named pipes
Hi everybody,
I've recently started to work at Trias Zorgverzekeraar in The Netherlands,
a health insurance company. We use TSM 4.2.1.8 on AIX 4.3. I've discovered
this list and its archive. but I've come across something for which I can't
seem
to find a solution.
The situation is as follows:
For the daily DRM-related tasks, I've written a Perl script. That
Perl-script uses the TSM-package from CPAN[1], but I'm not really happy
with that package.
What I would like to do is start a dsmadmc process at the start of my Perl
program, issue commands to it and read the results via named pipes. I
have already accomplished this, but the only thing that doesn't work is
the entry of the username and password. Since I don't want to enter the
username and password on the commandline, I'd like to send the
username and password over the pipe. However, this doesn't work here.
Could anybody help me with this? Thanks.
[1] If this doesn't mean anything to you: doesn't matter. It's a way to
issue dsmadmc commands in Perl.
--
Jurjen Oskam
PGP Key available at http://www.stupendous.org/
|
|
|