Previous Page | Next Page

The CLP Procedure

Macro Variable _ORCLP_

The CLP procedure defines a macro variable named _ORCLP_. This variable contains a character string that indicates the status of the CLP procedure upon termination. The various terms of the macro variable are interpreted as follows.

STATUS

indicates the procedure status at termination. It can take one of the following values:

OK

The procedure terminated successfully.

DATA_ERROR

An input data error occurred.

IO_ERROR

A problem in reading or writing data occurred.

MEMORY_ERROR

Insufficient memory is allocated to the procedure.

SEMANTIC_ERROR

The use of semantic action is incorrect.

SYNTAX_ERROR

The use of syntax in incorrect.

ERROR

The status cannot be classified into any of the preceding categories.

If the procedure terminates normally or if an I/O error is detected while closing a data set, the following terms are added to the macro variable.
SOLUTION_STATUS

indicates the solution status at termination. It can take one of the following values:

ALL_SOLUTIONS

All solutions are found.

INFEASIBLE

The problem is infeasible.

SOLN_LIMIT_REACHED

The required number of solutions specified with the MAXSOLN= option is reached.

TIME_LIMIT_REACHED

The execution time limit specified with the MAXTIME= option is reached.

RESTART_LIMIT_REACHED

The number of restarts specified with RESTARTS= option is reached.

ABORT

The procedure is stopped by user before any other stop criteria is reached.

SOLUTIONS_FOUND

indicates the number of solutions that are found. This term is not applicable if SOLUTION_STATUS has a value of INFEASIBLE.

MIN_MAKESPAN

indicates the minimal makespan of the solutions that are found. The makespan is the maximum of the activity finish times or the completion time of the last job to leave the system. This term is applicable only to scheduling problems with at least one solution.

SOLUTION_TIME

indicates the time (in seconds) taken to solve the problem.

Previous Page | Next Page | Top of Page