For example let us consider a backup procedure. From the Backup Options for Subclient dialog box, select the
required options that you want to execute when the script is run and click
Save As Script.
In the
Save As
Script dialog box select the location of the client on which you want to save the script.
Enter or Browse to a path and name for the script file to be saved
on the CommServe computer.
Select Synchronous or Asynchronous execution. Some job types
will always be performed asynchronously and the synchronous option will be
disabled.
A synchronous operation exits only when the operation has completed.
An asynchronous operation submits the job to the CommServe and exits
immediately, returning control to the calling program or script.
If a script with same name exists, you can decide if the existing script must
be overwritten. In addition, you can decide the extension of the save as script
file.
Click OK to save the operation as a script file.
Execute Scripts using qoperation
execute Command
To
save a job as script using qoperation execute command: