Tivoli Header

Administrator's Reference

DELETE SCRIPT (Delete Command Lines from a Script or Delete the Entire Script)

Use this command to delete a single line from a TSM script or to delete the entire TSM script.

Privilege Class

To issue this command, the administrator must have previously defined the script or must have system privilege.

Syntax

>>-DELete SCRipt--script_name--+-----------------+-------------><
                               '-Line--=--number-'
 
 

Parameters

script_name (Required)
Specifies the name of the script to delete. The script is deleted unless you specify a line number.

Line
Specifies the line number to delete from the script. If you do not specify a line number, the entire script is deleted.

Examples

Task

Using the following script named QSAMPLE:

001  /* This is a sample script */
005  QUERY STATUS
010  QUERY PROCESS

Delete line 005 from QSAMPLE.

Command:
delete script qsample line=5

Related Commands

Table 118. Commands Related to DELETE SCRIPT

Command Description
COPY SCRIPT Creates a copy of a script.
DEFINE SCRIPT Defines a script to the Tivoli Storage Manager server.
QUERY SCRIPT Displays information about scripts.
RENAME SCRIPT Renames a script to a new name.
RUN Runs a script.
UPDATE SCRIPT Changes or adds lines to a script.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]