Executing the script – HP StorageWorks XP Remote Web Console Software User Manual

Page 130

Advertising
background image

reads and executes as a batch file. Scripting allows you to perform a series of TrueCopy for
Mainframe operations without having to issue the commands separately. Using TrueCopy for
Mainframe scripting, you can set up and execute a large number of TrueCopy for Mainframe
commands within a short period of time. The TrueCopy for Mainframe scripting function enables
you to:

Save time by executing multiple TrueCopy for Mainframe operations with a single command

Run a series of predefined and tested TrueCopy for Mainframe operations after hours or
overnight, and/or

Allow a non-resident system administrator to set up and start an entire day's worth of TrueCopy
for Mainframe operations in the limited time that the administrator is on-site.

CAUTION:

Do not perform TrueCopy for Mainframe operations using the TrueCopy for Mainframe

windows while the scripting function is being executed. To perform operations on the TrueCopy
for Mainframe windows, wait until the script is complete, or make sure that the script in execution
is aborted.

The Script Operation window (see

“Script Operation Window” (page 97)

) displays information

for the script being executed. This section describes the selection and execution of an existing
TrueCopy for Mainframe script file.

Executing the Script

To execute the script:

1.

Create a script in a text format.

2.

Save the script file.

The maximum number of characters for the file name including the extension is 32. You cannot
use some symbols for the file name, such as “ \ ; : * ? < > | / ,.

Enclose the file name within the double quotation marks, with an .spt extension, then click
Save.

3.

Transfer the script file to SVP.

Click File Operation on the Script Operation window to open the File Operation dialog box
(see

“File Operation Dialog Box” (page 131)

).

4.

To display the Upload the script file dialog box, click Import in Script File box.

5.

Select the file that you want to transfer, and click Open.

6.

When the completion message appears, click OK. To upload the other script files, repeat steps
(4) to (6).

7.

To close the File Operation dialog box, click Close.

8.

Select the file name from the Script File Name drop-down list on the Script Operation window.

9.

Select Run from the Operation drop-down list on the Script Operation window.

10.

To start the script, click Apply.

11.

When the confirmation message appears, click OK.

130 Performing TrueCopy for Mainframe Configuration Operations

Advertising
This manual is related to the following products: