Reason:
Note: If the error occurs on the first record, runtime gives an IQP error. But if the error was on the subsequent record, then PROCESS NEXT continues correctly. This is because the compiler generates DOIL T-code with FFFF as the offset of the Repeat branch. The first iteration gets FFFF as the repeat stack entry. When the first iteration is successful, the STKREP T-code sets the repeat stack entry to the correct value and later, PROCESS NEXT works correctly.
Action:
Alter program logic to assure that the implicit or explicit label employed by the QUIT and PROCESS NEXT statements is actually being executed when the statement that caused the error is executed. Assure that PROCESS NEXT is never executed on a FOR construct if the WHEN NONE condition is sensed. In an ERROR procedure, analyze carefully whether predecessor errors altered the flow of control. Correct the predecessor errors or correct the logic of the ERROR procedure so that execution can proceed smoothly.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|