IBM Tivoli Storage Manager, Version 7.1

Querying a server script to create another server script

You can create additional server scripts by querying a script and specifying the FORMAT=FILE and OUTPUTFILE parameters. You can use the resulting output as input into another script without having to create a script line by line.

About this task

The following is an example of querying the SRTL2 script and directing the output to newscript.script:

AIX operating systems HP-UX operating systems Oracle Solaris operating systems Windows operating systems
query script srtl2 format=raw outputfile=newscript.script
Linux operating systems
query script srtl2 format=file outputfile=newscript.script
You can then edit the newscript.script with an editor that is available to you on your system. To create a new script using the edited output from your query, issue:
define script srtnew file=newscript.script


Feedback