By default, if a pre-process or post-process fails (the script returns an exit code not equal to 0), the job is marked as pending. Instead of marking the job as pending, you can configure the job to fail if a pre-process or post-process fails.
Procedure
-
To the CommServe computer, add the JMFailJobOnScriptFailure additional setting as shown in the following table.
For instructions on adding additional settings from the CommCell Console, see Add or Modify an Additional Setting.
Property
Value
Name
Category
CommServDB.GxGlobalParam
Type
INTEGER
Value
1