> -----Original Message----- > From: Steve Bennett [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 29, 2001 6:10 PM > To: [EMAIL PROTECTED] > Subject: copying scripts between tsm servers
> I need to copy dozens of scripts from one TSM 4.1.3 server to another. > Any suggestions? source: query script abc format=raw outputfile=abc.raw dest: define script abc file=abc.raw or make a macro: define macro QSCR "query script $1 format=raw outputfile=$1.raw" create a macro to run it for each script: select distinct 'RUN QSCR ',name from scripts > qscr.mac1 get rid of heading: grep "^RUN" qscr.mac1 > qscr.mac2 and run it: MACRO qscr.mac2 Do something similar to load them into the new server. Note that the output from the Query script xxx outputfile=xxx.raw is in the tsm server directory unless you provide a complete pathname... I would create a Perl script that did the whole thing at once, assuming you have connectivity to both servers...
