Beruflich Dokumente
Kultur Dokumente
SQL
(Implementation and Practical Use)
Laura Buckley
Creating Macros
Enter the administrative commands in a text file
- A hyphen or slash continues a line
- Blank lines are ignored
- 256 characters per line without continuation
- 1500 characters with continuation
Sample Macro
/*
/*
/*
/*
e x t e n d d b .m a c */
This macro will add a volume to and extend the - */
TSM server database. */
The variables are : %1 = new volume name */
Executing Macros
At the Admin Command Line
macro filename variable
tsm > macro extendb
extendb..mac f:\db3.
f:\db3.dsm
dsm 2000
Click OK
Enter a description
Getting Started
Be sure to check out scripts.smp
scripts.smp (server
directory in older versions)
Ask for help from the listserv
Check SQL reference materials
Dig in!