Skip Headers

Oracle® OLAP DML Reference
10g Release 1 (10.1)

Part Number B10339-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

OKFORLIMIT

The OKFORLIMIT option controls whether you can limit the dimension you are looping over within an explicit FOR loop.

Data type

BOOLEAN

Syntax

OKFORLIMIT = {NO|YES}

Arguments

NO

You cannot limit the dimension you are looping over within an explicit FOR loop. (Default)

YES

You can limit the dimension you are looping over within an explicit FOR loop.

Notes


Related Statements

See the TEMPSTAT command to set the status of the dimension you are looping over in a loop that is generated by a REPORT command.

Examples

Example 19-14 Allowing Limits Within a Loop

The following program excerpt sets OKFORLIMIT to YES, thereby allowing the user to limit market within a FOR loop.

...
OKFORLIMIT = YES
FOR market
    DO
      LIMIT market TO CHILDREN USING market.market 
      REPORT market
    DOEND
 ...