ADSM-L

Help on a TSM bat file for NT

2002-07-31 16:15:21
Subject: Help on a TSM bat file for NT
From: Rob Hefty <R.Hefty AT LABSAFETY DOT COM>
Date: Wed, 31 Jul 2002 15:15:19 -0500
Hello All,

I am attempting to create a bat file that will automate an archive for some
data on the NT/Win2k platform.  What I am having difficulty with is passing
the date variable into the description.  So far I have:

D:
:SETVAR
set date/t=dates
 Cd D:\Program Files\tivoli\tsm\baclient\
dsmc Archive -archmc=36-MONTH-ARCHIVE -desc="Freight Archives for Monthend
Prior to: %dates%" D:\temp\test\*
pause 5

When it completes it runs the archive fine only the description is lacking a
date stamp.  Any suggestions would be appreciated.


Thanks,
Rob Hefty
IS Operations
Lab Safety Supply
<Prev in Thread] Current Thread [Next in Thread>