Chad,

Use the %computername% environmental variable in your command file.  That
will plug in the name of the client for the file name.

Ex.. C:\program files\tivoli\tsm\baclient> ren dsmsched.log
%computername%.log

Matt Adams
Tivoli Storage Manager Team
Hermitage Site Tech
Deloitte & Touche USA LLP
615.882.6861



-----Original Message-----
From: Gent, Chad E. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 1:58 PM
To: [EMAIL PROTECTED]
Subject: Re: TSM Client Log File Help


I guess I should have mentioned that this client is an NT 4.0 client.  The
TSM server is Unix based.

Chad

-----Original Message-----
From: Cook, Dwight E [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject: Re: TSM Client Log File Help

OK, now in a unix environment, I'm thinking specifically of an AIX one, you
have the ability to create a .netrc file under an id such that it will
perform specific actions upon an ftp session being initiated to a specific
node. So I build scripts that do...
#!/bin/ksh
echo machine <some_remote_machine> > $HOME/.netrc
echo login <id_on_that_remote_machine> >> $HOME/.netrc
echo password <password_of_that_id_on_that_remote_machine> >> $HOME/.netrc
echo macdef init >> $HOME/.netrc
echo prompt off >> $HOME/.netrc
echo put /somepath/sched.log  /somepath/$(hostname)$(date +%m%d%y)sched.log
>> $HOME/.netrc
echo bye >> $HOME/.netrc
chmod 600 $HOME/.netrc
ftp <some_remote_machine>
rm $HOME/.netrc
exit

so just have your postschedcommand run the above script...



Dwight E. Cook
Software Application Engineer III
Science Applications International Corporation
509 S. Boston Ave.  Suit 220
Tulsa, Oklahoma 74103-4606
Office (918) 732-7109



-----Original Message-----
From: Gent, Chad E. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 1:10 PM
To: [EMAIL PROTECTED]
Subject: TSM Client Log File Help


Hello All,

I have a few questions about TSM log files.  I would like to have my TSM log
files sent to another server each night.  I know I can do this with a
pre/post schedule command.  But how can I rename the log files with the
server name and the date.  I'm sure I could write a batch file or something
with certain commands. Any help would be great.

Thanks

Chad Gent
e-mail  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
- This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.  -
If you are not the intended recipient, you should delete this message and
are hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited.

Reply via email to