Creating and Running Batch Files with Certify.exe

Batch files give you the ability to create and run processes, cycles, and schedules without having to sign in to Certify. You run batch files from the command line program Certify.exe. For more information, see Understanding Certify.exe.

To create a batch file:

  1. Click Processes in the Navigation pane.

The Processes window opens.

  1. In the Processes Summary pane, select a process and click the Run button or right-click a process and select Run.

The Configuration dialog opens.

  1. Verify the settings to create your batch file.
  2. Click Export.

The Save As dialog opens.

  1. Select or create a file folder.
  2. In the File Name field, enter the file name.
  3. Click Save.

The file is saved as a batch (BAT) file.

To run a batch file:

  1. Open the Command Prompt window with one of the following options:
  2. Microsoft Windows DOS command prompt
  3. Windows Run dialog
  4. DOS batch file

The Command Prompt window opens.

  1. Change the directory to where you saved the batch file.
  2. Enter the batch file name.

    Values for each command line argument are taken from the current Certify configuration file or from the Certify business layer. If the parameter is optional and the configuration file has a default value selected, the parameter is not saved in the batch file.

  1. Press <Enter> to run the process.
  2. Enter your database administrator user name and password and press <Enter>.
  3. Enter your Certify user name and password and press <Enter>.

The batch file runs and the process results are sent to the output location. You can view the results in the Results Viewer.

<Ctrl> + <C> stops the process from running.

Viewing Results

After you have run your Certify process, you are able to quickly view status results with the following exit codes:

  • 0 = Certify process passed
  • 1 = Certify process failed
  • 2 = Certify process aborted
  • 3 = Certify process skipped
  • 4 = Certify process pending
  • 5 = Certify process executing
  • 6 = None, Unknown

 

Related Topics Link IconRelated Topics