The following OPTION statement at the beginning of the sample program sets the maximum number of instructions that the program will execute:
OPTION MAXI,200
This program is set to execute no more than 200 instructions. By specifying a maximum number of instructions, you can prevent a program from going into an uncontrolled loop.
If the program tries to execute more than the maximum number of statements, the following message is displayed:
SCRIPT EXCEEDED INSTRUCTION LIMIT
The term "script" in this message refers to the ACL/E program.
|
Copyright © 2013 CA.
All rights reserved.
|
|