Manual

Troubleshooting 6-3
6.3.2.1 Not Found Errors
If ECXP fails to find a procedure or pattern, it displays an error message that includes the name of the
procedure or pattern not found. This error message occurs:
If the procedure called by a Call Procedure instruction is not in the loaded macro program.
If a Place Pattern or Call Procedure instruction was not included in a pattern or procedure.
If a Place Pattern or Call Procedure instruction was inserted without selecting a pattern or
procedure to place or call.
To correct “Not Found” errors:
1. Make sure the applicable macro program is loaded.
2. Make sure that Place Pattern and Call Procedure instructions are included for each pattern
and procedure in the program.
3. Make sure all Place Pattern and Call Procedure instructions include the name of the
appropriate pattern or procedure.
NOTE All patterns except the Main Pattern are executed by the Place Pattern
instruction. The Main Pattern is executed when the program is run and all
program instructions are executed from the Main Pattern.
6.3.3 Conditional Instruction Errors
All conditional instructions (If, Else, While, Repeat) require an End instruction. Likewise, each End
instruction requires a matching startup instruction. Each time a program is executed, ECXP compiles the
program. If there are any mismatches, an error will be generated. In this situation, ECXP will not toggle
to the error and mark it with a blue arrow. Error message examples are shown in Figure 6-4.
Figure 6-4 Conditional Instruction Error Message
ECXP Program Execution Exception (Class: ECompile Error) = MAIN= An If, REPEAT, or, WH
MAIN: An IF, REPEAT, or WHILE instruction does not have a matching END statement.