Command Line Interface - How To

Topics | QCommands | Save As Script | XML Scripts | QScripts | QAPI Developers Guide | How To | Troubleshoot | Support | Related Topics


Save a Job as a Script

Execute Scripts using qoperation execute Command

Set up the qoperation find Command


Save a Job as a Script

To save a job as a script:

  1. From the CommCell Console, begin one of the following procedures:
  2. 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.
  3. In the Save As Script dialog box select the location of the client on which you want to save the script.
  4. Enter or Browse to a path and name for the script file to be saved on the CommServe computer.
  5. Select Synchronous or Asynchronous execution. Some job types will always be performed asynchronously and the synchronous option will be disabled.
  6. 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.

  7. 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:

  1. From the CommCell Console, run Save a Job as Script procedure.
  2. From the command prompt, navigate to the <software installation path>\Base> folder and run the following command:

    qoperation execute -af "D:\fsscript\fabkp.bat_1256279326.xml"

    where:

    The job is initiated and executed successfully.

Set up the qoperation find Command

To set up the qoperation find command:

  1. From the CommCell Console, run Save a Job as Script from a earlier release of the software.
  2. Modify the contents of the input file of previous version, to do the following:

Back To Top