Previous Topic Next topic Print topic


% SET LOOP-LIMIT

Override the loop counter default (500) in the AMB CNTL file APSDBDC. The internal default set by the MFG is 999999. % SET LOOP-LIMIT is often used to locate the cause of infinite loops.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

% SET LOOP-LIMIT number

Aliases:

% set loop-limit number     % Set Loop-Limit number
% set loop limit number     % Set LoopLimit number
% SET LOOPLIMIT number

Comments:

  • Number can be as high as 2,147,483,647.
  • Because some AMB libraries reset LOOP-LIMIT to 200, you might need to reset the limit after an % INCLUDE statement .

Example:

Set the loop limit to 320000.

% SET LOOP-LIMIT 320000
Previous Topic Next topic Print topic