Skip Headers
Oracle® OLAP DML Reference
10g Release 2 (10.2)

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

Go to previous page
Previous
View PDF

Index

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  Y  Z 

Symbols

$AGGMAP property, 8
$AGGREGATE_FORCECALC property, 8
$AGGREGATE_FORCEORDER property, 8, 8
$AGGREGATE_FROM property, 8, 8
$AGGREGATE_FROMVAR property, 8
$ALLOCMAP property, 8
$COUNTVAR property, 8
$DEFAULT_LANGUAGE property, 8
$NATRIGGER property
calling recursively, 22
executing simultaneously, 26
$STORETRIGGERVAL property, 8
$VARCACHE property, 8
% wildcard, 3.7.6.1
& operator, 3.9
= command, 23
event, 26, 26, 26
trigger, 26, 26, 26
_ wildcard, 3.7.6.1

A

abbreviating OLAP DML statements, 7
ABS function, 8
ACQUIRE command, 8
ACROSS command, 8
ACROSS keyword, 23
$AGGREGATE_FROMVAR property, 8, 8
= command, 23
FETCH command, 14
FILEREAD command, 15, 24
FILEVIEW command, 15
HEADING command, 16
models, 6.4.2.2
REPORT command, 22
ROW command, 23
SQL FETCH command, 24
SQL SELECT command, 24
ADD_MONTHS command, 8
Aggcount variables, 8, 11, 12, 12, 21
AGGINDEX statement, 8
AGGMAP ADD model command, 8
AGGMAP command, 8
AGGMAP property
See $AGGMAP property
AGGMAP REMOVE model command, 8
AGGMAP SET command, 8
AGGMAPINFO command, 9
aggmaps
compiling, 4.3, 11
defining, 12
deleting, 12
in formulas, 21
list of, 10
See also aggregation specifications, allocation specifications
Aggregate Advisor, 4.4, 8, 8, 8, 8
AGGREGATE command, 9
AGGREGATE function, 9
AGGREGATE_FROM property
See $AGGREGATE_FROM property
AGGREGATE_FROMVAR property
See $AGGREGATE_FROMVAR property
aggregating data
caching, 26
formulas for, 9
on-the-fly, 4.4
partitioned variables, 9, 21
precomputing, 4.4
specifying a relation for, 8
statements for, A.3.12
using an Aggcount variable, 8
using an aggmap object, 4.1
using TCONVERT, 25
See also aggregation specifications
AGGREGATION function, 9
aggregation functions, A.3.10.5, A.3.10.5
aggregation specifications
compiling, 4.3
defining, 12
deleting, 12
models in, 8, 18, 18
writing, 8
See also aggregating data
algorithm for composite values, 23
alias dimension
deleting, 12
alias dimensions
base dimensions (list of), 21
defining, 12
deleting, 12, 12, 12, 12
limiting, 12
maintaining, 12
populating, 12
retrieving list of, 21
aliases
for analytic workspaces, 3.3.1
for analytic workspaces. See analytic workspace aliases
for dimensions See alias dimensions
ALLCOMPILE program, 9
ALLOCATE command, 9
allocating data
statements for, A.3.13
using an aggmap object, 5
using TCONVERT, 25
See also allocation specifications
allocation specifications
defining, 12
deleting, 12
writing, 9
See also allocating data
ALLOCERRLOGFORMAT option, 9
ALLOCERRLOGHEADER option, 9
ALLOCMAP command, 9
ALLOCMAP property
See $ALLOCMAP property
ALLSTAT command, 9
ampersand &(amp;) operator, 3.9
ampersand substitution
example of, 3.9
program arguments and, 7.2.2.3
QDR with, 3.11.2.6
using to pass arguments, 7.2.2.3, 18
analytic workspace aliases
creating, 10
definition of, 3.3.1
deleting, 10
analytic workspaces
aliases. See analytic workspace aliases
attached (list of), 21
attaching, 10, 10
content summary, displaying, 10
creating, 10
current, 3.3.1
deleting, 10, 10
deleting objects from, 12
detaching, 10
exporting, 7.6.6
identifying active, 10
importing, 7.6.6
naming, 3.3.1
obtaining information about, 10
partitioning, 10
permission programs for, 7.6.1
segmenting, 10
sharing, 10
updating, 26
ANTILOG function, 9
ANTILOG10 function, 9
ANY function, 9
arc tangent calculation, 10
ARCCOS function, 9
ARCSIN function, 10
ARCTAN function, 10
ARCTAN2 function, 10
ARG command
See ARGUMENT command
ARG function, 10
ARGCOUNT function, 10
ARGFR function, 10
ARGS function, 10
ARGUMENT command, 10
arguments, 10
in user-defined functions, 7.2.1
passing as text, 7.2.2.3, 18
passing to a program, 10, 10, 10, 10, 10
using ampersand substitution with, 7.2.2.3
ASCII function, 10
Assign event, 26
assigning values, A.3.6
assignment statements
event, 26, 26, 26
list of, A.3.6, A.3.6
trigger, 26, 26, 26
with different dimensionality, 26
with QDR, 3.11.2.2
authentication, 21
encrypting text expressions, 21
within Oracle OLAP, 21
AVERAGE function, 10
AW command, 10
AW ALIASLIST, 10
AW ATTACH, 10
AW CREATE, 10
AW DELETE, 10
AW DETACH, 10
AW LIST, 10
AW SEGMENTSIZE, 10
events, 26
triggers, 26
AW function, 10
AWDESCRIBE program, 10
AWWAITTIME option, 10

B

BACK function, 9, 9, 10, A.3.12, A.3.13
BADLINE option, 7.4.2, 10
base dimensions
finding values of, 10, 17
identifying, 10
setting status list of, 18
BASEDIM function, 10
BASEVAL function, 10
BEGINDATE, 10
BITAND function, 10
bits, adding, 10
BLANK command, 10
blank lines in reports, 10
BLANKSTRIP function, 10
BMARGIN option, 10
Boolean
data type, 2.4
expressions, 3.7
operators, 3.2.3
values, 20, 26
branching in programs, 10, 11, 16, 16, 18, 25
BREAK command, 10
bucket numbers, retrieving, 26
build number of Oracle OLAP, 13

C

CACHE statement, 8, 8, 8, 8, 8
caches
See OLAP session cache
calculated members
adding to dimension, 18
identifying, 17
calculating a linear regression, 22
CALENDARWEEK option, 10
CALL command, 10
CALLTYPE function, 10, A.3.18.5
case statement in programs, 25
CATEGORIZE function, 10
CDA command, 10
CEIL function, 10
CHANGEBYTES function, 10
CHANGECHARS function, 10
characters
manipulation functions, A.3.8
representing as decimals, 2.3.2
representing as hexadecimals, 2.3.2
representing as Unicode, 2.3.2
special, 2.3.2
CHARLIST function, 10
CHGDFN command, 11
CHGDIMS function, 11
CHILDLOCK statement, 9
CHR function, 11
CLEANUP command
See SQL command in OLAP DML
CLEAR command, 11
CLOSE command
See SQL command in OLAP DML
COALESCE function, 11
columns
default width in reports, 11, 17
getting value from a report column, 11
headings in a report, 16
in reports, 11
multiline text, 14
COLVAL function, 11
COLWIDTH function, 11
COMMAS option, 11
comments in programs, 7.2
COMMIT command, 11
comparing
dates, 3.7.5
values, 3.7.2, 3.7.6
comparison operators, 3.2.3
compilable objects, 11
COMPILE command, 11
COMPILEMESSAGE option, 11
COMPILEWARN option, 11
compiling, 11
aggmaps, 4.3
aggregation specifications, 4.3
models, 6.3
programs, 7.3
SQL statements, 24
suppressing error messages, 11
composites, 3.3.4.3
base dimension values, 17
changing to conjoint dimensions, 11
defining, 12, 12
deleting, 12, 12, 12, 12
deleting values of, 18
index algorithm, 23, 23
index type (determining), 21
listing associated objects, 18
maintaining, 18
reporting, 22, 23
showing a value, 23
specifying values for, 3.3.3.1
specifying values of, 3.3.3.1, 3.3.3.2
statements for managing, A.3.15
testing for a value, 17
unnamed, 12
See also unnamed composites
concat dimensions
defining, 12
deleting, 12, 12
specifying values for, 3.3.3.2, 3.3.3.2
See also dimensions
concat partitions, 12
conditional, 3.8.1
conditional execution of commands, 13
conditional expressions, 3.8, 3.8, 3.8
IF, 3.8.1
SWTICH, 3.8.2
conditional operators, 3.8, 3.8
conjoint dimensions
base dimension values, 17
changing to composites, 11
defining, 12
deleting, 12, 12
index type (determining), 21
See also dimensions
CONSIDER command, 11
CONTEXT command, 7.2.4.6, 11
CONTEXT function, 7.2.4.6, 11
CONTINUE command, 11
controlled sparsity, 12
CONVERT function, 11
converting data types
decimals to integers, 17
functions for, A.3.5
introduction to, 2.6
COPYDFN command, 11
copying definitions, 11
CORRELATION function, 11
COS function, 11
COSH function, 11
cosine calculation, 11, 11
COUNT function, 11
COUNTVAR property
See $COUNTVAR property
CUMSUM function, 11
cumulative totals, 11, 23
current
analytic workspace, 3.3.1
status See current status list
current directory, 10
changing, 10
identifying, 10
current outfile, 13, 21
current status list
changing, 1.5.1.3
definition of, 1.5.1.1
restoring, 1.5.1.4
retrieving values of, 1.5.1.3
saving, 1.5.1.4
setting, 1.5.1.3, 18
See also status lists
cursors, 24
closing (SQL), 24
importing (SQL), 24

D

data fetches (SQL), 24
data types
Boolean, 2.4
converting, 2.6, A.3.5
creating a report, 22, 23
date, 2.5
determining data type of an object, 21
for variables, 12
numeric, 2.2
of expressions, 3.1.1
of numeric expressions, 3.5.1
of user-defined function, 7.2.1
qualifying data for expressions, 21
restricting access, 21
showing a single value, 23
statements for converting, A.3.5
text, 2.3
transferring from one format to another, 26
WORKSHEET, 2.1
DATABASE command
name change, Preface
See AW command
DATABASE function
name change, Preface
See AW function
date and time functions, A.3.9
date data types, 2.5
date functions, A.3.9
DATEFORMAT option, 11
DATEORDER option, 11
dates, 25, 25
comparing, 3.7.5, 3.7.5
current, 25, 25
functions, A.3.9
in arithmetic expressions, 3.5.3
in text expressions, 3.6.2
DATETIME data type, 3.6.2
DAYABBRLEN option, 11
DAYNAMES option, 11
DAYOF function, 11
DBDESCRIBE program
name change, Preface
See AWDESCRIBE program
DBGOUTFILE command, 7.4.3, 11
and ECHOPROMPT, 13
DBWAITTIME option
name change, Preface
See AWWAITTIME option
DDOF function, 11
DEADLOCK statement, 9
debugging, 14
models, 6.5
options for, A.2.7
programs, 7.4
statements for, A.3.18.4
decimal data types, comparing, 3.7.3.3
decimal marker (displayed), 12
decimal places (displayed), 12
decimal values, 12
decimal marker for output, 12
truncating to an integer, 17
DECIMALCHAR option, 12
DECIMALOVERFLOW option, 12
DECIMALS option, 12
DECLARE CURSOR command
See SQL command in OLAP DML
DECODE function, 12
default
outfile, 21
relations, 3.3.3.3, 22
status. See default status list
default status list
changing, 1.5.1.2
definition of, 1.5.1.2
determining if in effect, 24
See also status lists
DEFAULTAWSEGSIZE option, 12
DEFAULTDBFSIZE option
name change, Preface
See DEFAULTAWSEGSIZE option
DEFINE AGGMAP command, 12, 12
DEFINE command, 12
events, 26
triggers, 26
DEFINE COMPOSITE command, 12
DEFINE DIMENSION ALIASOF command, 12
DEFINE DIMENSION command, 12
DEFINE FORMULA command, 12
DEFINE MODEL command, 12
DEFINE PARTITION TEMPLATE command, 12
DEFINE PROGRAM command, 12
DEFINE RELATION command, 12
DEFINE SURROGATE command, 12, 12
DEFINE VALUESET command, 12
DEFINE VARIABLE command, 12
DEFINE WORKSHEET command, 12
defining
aggmap objects, 12
alias dimensions, 12
analytic workspace objects, 12
dimension alias, 12
dimensions, 12
formulas, 12
partitions, 12
programs, 12
relations, 12, 12
surrogates, 12
valuesets, 12, 12
variables, 12
worksheet objects, 12
definitions
copying, 11
creating, 12
creating object properties, 21
deleting, 12
moving within NAME dimension, 20
report of, 13, 15
testing for, 13
DELETE command, 12
event, 26, 26
trigger, 26, 26
Delete event, 26
deleting
alias dimensions, 12
composite values, 18
composites, 12
definitions, 12
dimension alias, 12
dimension values, 18, 18
dimensions, 12
formulas, 12
models, 12
objects, 12
partition templates, 12
partitions, 12
programs, 12
surrogates, 12
triggers, 26, 26, 26
valuesets, 12
DEPRDECL function, 13
DEPRDECLSW function, 13
depreciation of assets, 13, 13, 13, 13
DEPRSL function, 13
DEPRSOYD function, 13
DESCRIBE command, 13
descriptions
adding to a definition, 17
deleting from a definition, 17
dimension alias
See alias dimensions
DIMENSION command, in a model, 19
DIMENSION statement
for aggregation, 8
for allocation, 9
dimension status
effect on expressions, 3.4.2
null, 21
restoring, 1.5.1.4, 7.2.4.2
saving current, 1.5.1.4, 7.2.4.2
statements for managing, A.3.15
See also status lists
dimension surrogates
assigning values to, 23
defining, 12
dimension values
comparing, 3.7.4, 3.7.4
counting related values, 25
deleting values of, 18, 18
latest value, 24
null, 21
number of (determining), 21, 21
number of values in status, 24
place in status list, 24
retrieving current status list
retrieving, 24
returning first value in status, 24
returning last value in status, 24
setting the status of, 18
sorting, 23, 23
testing for, 17
using qualified data reference, 21
using result of LIMIT command, 18
dimensionality, changing, 3.4.3, 11
dimension-based equations, 6.1
dimensions
acquired, 10
checking status of, 24
comparing values, 3.7.4
defining, 12, 12
defining surrogates for, 12
deleting, 12, 12
determining status of, 24
limiting, 18
limiting to single value, 3.11.2
listing associated objects, 18
looping over values of, 15, 15, 15
maintaining, 18
numeric value of text dimension, 3.5.2
of expression, 3.4, 3.4.1
order in models, 19
QDR with, 3.11.2, 3.11.2.5
related, 3.3.3.3, 22
restoring previous values, 7.2.4.3
saving current values, 7.2.4.3
See also alias dimensions, base dimensions, concat dimensions, conjoint dimensions, simple dimensions
sorting values, 18
statements for managing, A.3.15
status list. See status list
status lists, 24
type of (determining), 21
worksheet, 12
dimensions, language, 8
directory
changing, 10
identifying current, 10
displaying error messages, 26
DIVIDEBYZERO option, 13
division, 22
by zero, 13
calculating the remainder, 22
DO command, 13, 15
used with FOR, 15
used with SWITCH, 25
used with WHILE, 26
DOEND command, 13
DSECONDS option, 13

E

ECHOPROMPT option, 7.4.3, 13
EDIT command, 13
editing previously executed commands, 22
EIF file, 7.6.6, 14
exporting data from, 14
importing data from, 16
EIFBYTES option, 13
EIFEXTENSIONPATH option, 13
EIFNAMES option, 13
EIFSHORTNAMES option, 13
EIFTYPES option, 13
EIFUPDBYTES option, 13
EIFVERSION option, 13
encryption, 21
END command, 13
ENDDATE function, 13
ENDOF function, 13
EQ command, 13
equations, dimension-based, 6.1
ERRNAMES option, 13
error messages, 23
creating your own, 7.2.5.4
deferring, 7.2.5.1
displaying, 26
option holding text of, 13
producing without error condition, 23
signaling error condition, 23
suppressing, 7.2.5.3, 11
suppressing during compilation, 11
wrapping, 26
ERRORLOG statement, 9
ERRORMASK statement, 9
ERRORNAME option, 7.2.5, 13
errors
controlling during calculations, 3.5.5
handling, 7.2.5
handling in nested programs, 26, 26
handling in programs, 26
name of first-occurring error, 13
signaling, 7.2.5.4, 26, 26
SQL error codes, 24
when comparing numeric data, 3.7.3, 3.7.3.2, 3.7.3.3
ERRORTEXT option, 7.2.5, 13
escape character for LIKE, 17
escape sequences, 2.3.2, 2.3.2
ESCAPEBASE option, 13
events
Assign, 26, 26
assignment statements, 26
Define, 26
Delete, 26, 26
deleting, 26, 26, 26
identifying, 26
Maintain, 26, 26
Property, 26, 26
Update, 26, 26, 26
EVERSION function, 13
EVERY function, 13
EXISTS function, 13
EXP function, 13
exponential forecasting, 15
exponents, retrieving, 13
EXPORT command, 7.6.6, 14
EXPORT to EIF command, 14
EXPORT to spreadsheet command, 14
exporting data, 13, 13, 14
expressions
ampersand substitution, 3.9
Boolean, 3.7, 3.8, 3.8, 3.8.1
changing dimensionality of, 3.4.3, 11
comparing, 20
conditional, 3.8, 3.8, 3.8
data type of, 3.1.1
dates in, 3.5.3
defined, 3.1
determining dimensions of, 3.4.1
dimensions of, 3.4, 3.4.1
dimensions status, 3.4.2
empty cells, 3.10
NA values in, 3.10
numeric, 3.5
objects in, 3.3
padding, 18, 23
parsing, 21
retrieving largest, 16
retrieving smallest, 17
saving, 12
substitution, 3.9
text, 3.6
trimming, 18, 23
using objects in, 3.3.4.3
using qualified data references in, 21
EXPTRACE option, 14
EXTBYTES function, 14
EXTCHARS function, 14
EXTCOLS function, 14
external partitions, 11
EXTLINES function, 14

F

fastest-varying dimension, 12
FCCLOSE command, 14
FCEXEC command, 14
FCOPEN command, 14
FCQUERY command, 14
FCSET command, 14
FETCH command
See SQL command in OLAP DML
fetching data (SQL), 24
file I/O, 14, 14, 15, 15, 15, 15, 15
closing, 14, 14, 14
current directory, 10
diagnosing errors when processing, 14
forcing a page break, 15
gathering information about, 15
list of open files, 18
opening, 15
processing data from, 15
reading a record, 15
reading data from, 15
reading Oracle OLAP commands from a file, 16, 17
records read, 22
setting attributes, 15
writing, 15
FILECLOSE command, 14
FILECOPY command, 14
FILEDELETE command, 14
FILEERROR function, 14
FILEGET function, 14
FILEMOVE command, 14
FILENEXT function, 15
FILEOPEN function, 15
FILEPAGE command, 15
FILEPUT command, 15
FILEQUERY function, 15
FILEREAD command, 15
files
appending output, 21
importing data from, 16
saving output in, 21
FILESET command, 15
fileunits, 15, 15
attributes, 15
number of outfile destination, 21
opening, 15, 21
reading data from, 15
setting attributes, 15
FILEVIEW command, 15
FILTERLINES function, 15
financial analysis, scenario modeling, 6.2.6
financial functions, A.3.10.2, A.3.10.2
FINDBYTES function, 15
FINDCHARS function, 15
FINDLINES function, 15
FINTSCHED function, 15
floating point numbers, comparing, 3.7.3.2
floating-point format
limitations when calculating, 3.5.4
use of, 3.5.4
FLOOR function, 15
FOR command, 13, 15
breaking out of, 10
example of, 15
looping over dimension values, 15, 15, 15
used with BREAK, 10
used with CONTINUE, 11
used with OKFORLIMIT, 21
used with TEMPSTAT, 25
FORECAST command, 15
FORECAST function, 17
forecast statements, A.3.11.1
forecasting context, 14
closing, 14
executing, 14
opening, 14
querying, 14
setting characteristics of, 14
FORECAST.REPORT program, 15, 15
formulas
aggmap objects in, 21
aggregating data with, 9
compiling, 11, 11
defining, 12, 12
deleting, 12, 12
expression for (retrieving), 21
recursive, 22
specifying new expression, 13
statements used for, A.3.16
FPMTSCHED function, 15
FULLDSC program, 15
functions
aggregation, A.3.10.5
calling, 10
date, A.3.9
financial, A.3.10.2
numeric, A.3.10
statistical, A.3.10.3
text, A.3.8
time, A.3.9
time-series, A.3.10.4
user-defined, 7.2.1, 7.2.1, 10, 23

G

GET function, 16
GOTO command, 16
GREATEST function, 16
group marker, 25
GROUPINGID command, 16
GROWRATE function, 16
growth rate, 16

H

handling errors in programs, 26
hash partitions, 10
heading, 16
for a report, 16
for output pages, 21
including a page number, 21
producing standard report heading, 25
HEADING command, 16
HIDE command, 16
HIERHEIGHT command, 16
HIERHEIGHT function, 16
Holt-Winters forecasting, 15
hyperbolic
cosine calculation, 11
sine calculation, 23
tangent calculation, 25

I

IF command, 13, 16
IF conditional expression, 3.8.1
IFNONE keyword, 18
IMPORT command, 7.6.6, 16
See also SQL command in OLAP DML
importing data, 13, 13
controlling update frequency, 13
from an analytic workspace, 16
from spreadsheets, 16
from text files, 16
tracking names of objects, 13
tracking types of objects, 13
INCLUDE command, 19
INF_STOP_ON_ERROR option, 17
INFILE command, 17
INFO function, 17
FORECAST, 17
MODEL, 17
PARSE, 17
REGRESS, 17
INITCAP function, 17
INLIST function, 17
input file
reading from a file, 16, 17
with SNAPI connection, 16
with XCA dialog, 16
INSBYTES function, 17
INSCHARS function, 17
INSCOLS function, 17
INSLINES function, 17
INSTAT function, 17
INSTR function, 17
INSTRB function, 17
integer part of decimal number, 17
interest on loans, 15, 26
internal partitions, 12
internal rate of return, 17
internationalization, 20
INTPART function, 17
IRR function, 17
ISDATE program, 17
ISSESSION function, 17
ISVALUE function, 17

J

JOINBYTES function, 17
JOINCHARS function, 17
JOINCOLS function, 17
JOINLINES function, 17

K

KEY function, 17

L

label column width, 17
branching in a program, 16
for error handling in programs, 26
labels, 16
in programs, 7.2.5.6
with IFNONE, 18
LAG function, 6.2.3, 17
LAGABSPCT function, 17
LAGDIF function, 17
LAGPCT function, 17
language dimension, 8
larger value of two expressions, 18
LARGEST function, 17
largest value of an expression, 17
LAST_DAY function, 17
LCOLWIDTH option, 17
LD command, 17
LEAD function, 6.2.3, 17
LEAST function, 17
LIKE operator, 17, 18
LIKECASE option, 17
LIKEESCAPE option, 17
LIKENL option, 18
LIMIT BASEDIMS command, 18
LIMIT command, 18
using LEVELREL, 18
using NOCONVERT, 18
using parent relation, 18
using POSLIST, 18
using related dimension, 18
using values, 18
LIMIT function, 18
limiting
alias dimensions, 12
dimensions, 18
multidimensional valuesets, 12
LIMITMAPINFO function, 18
LIMIT.SORTREL option, 18
LIMITSTRICT option, 18, 18
line size for report heading, 18
LINENUM option, 18
lines on a page of report output, 21
LINESLEFT option, 18
LISTBY program, 18
LISTFILES command, 18
LISTNAMES program, 18
literals
numeric, 2.2
text, 3.6
LOAD command, 18
loans, 15
interest payment on, 15
interest payments on, 26
payment on, 15
payments on, 26
local variables, 26, 26
localization options, 20, A.2
LOG command, 18
LOG function, 18
LOG10 function, 18
logical operators, 3.2.3
logs
calculating base 10 logarithm, 18
calculating natural logarithm, 18
LOOP clause in SQL FETCH, 24
looping, 15
over dimension status, 15
statements, 7.2.3.1
LOWCASE function, 18
lowercase, converting to, 18
LPAD function, 18
LSIZE option, 18
LTRIM function, 18

M

MAINTAIN command
event, 26, 26
MAINTAIN ADD, 18
MAINTAIN ADD for DAY, WEEK, MONTH, QUARTER and YEAR values, 18
MAINTAIN ADD for TEXT, ID, and INTEGER values, 18
MAINTAIN ADD SESSION, 18
MAINTAIN DELETE, 18, 18, 18
MAINTAIN MERGE, 18
MAINTAIN MOVE, 18
MAINTAIN RENAME, 18
trigger, 26, 26
Maintain event, 26
maintaining
alias dimensions, 12
composites, 18
dimensions, 18
partition templates, 18
partitions, 18
MAKEDATE function, 18
margins, 10
setting bottom margin, 10
setting top margin, 25
MAX function, 18
MAXBYTES function, 19
MAXCHARS function, 19
MAXFETCH option, 19
maximum values, 20
for each time period in the status, 20
larger of two expressions, 18
MEASUREDIM statement
for aggregation, 8
for allocation, 9
MEDIAN function, 19
median value, 19
messages, suppressing, 11
MIN function, 19
minimum value, 20
for each time period in the status, 20
smaller of two expressions, 19
MMOF function, 19
MODDAMP option, 19
MODE function, 19
models
adding to aggmap, 8
compiling, 6.3, 11, 19
creating, 19
debugging, 6.5
defined, 6.1
defining, 12
deleting, 12
editing, 19
in aggregation specifications, 8, 18, 18
obtaining information about, 17
removing from aggmap, 8, 8
running, 6.4, 19
scenario, 6.2.6
solution variables, 6.1
MODEL.XEQRPT program
compiling, 11
defining, 12, 12
including, 19
nesting, 19
options, 19, 19, 19, 19, 19, 19, 19
MODERROR option, 19
MODGAMMA option, 19
MODINPUTORDER option, 19
MODMAXITERS option, 19
MODOVERFLOW option, 19
MODSIMULTYPE option, 19
MODTOLERANCE option, 19
MODTRACE option, 19
module version numbers, 13
MONITOR command, 20
monitoring, 20
cost of program lines, 20
cost of programs, 25
MONTHABBRLEN option, 20
MONTHNAMES option, 20
MONTHS_BETWEEN function, 20
MOVE command, 20
MOVINGAVERAGE function, 20
MOVINGMAX function, 20
MOVINGMIN function, 20
MOVINGTOTAL function, 20
multidimensional valuesets, 12
multiline text, A.3.8.3
columns, 14
MULTIPATHHIER option, 20
multiwriter mode, 8, 10, 10, A.3.4, A.3.4

N

NA values
accepted as numeric input, 20, 20
caching, 26
comparing, 3.7.2, 3.7.2
controlling how treated, 3.10.2, 3.10.2, A.2.12
in Boolean expression, 3.7.2
in expressions, 3.10
permanently replacing, 26
replacing, 20
replacing with strings, 20
retrieving, 11
spelling of, 20
statements for working with, A.3.7
substituting another value, 20
triggers, 26, 26
working with, A.3.7
NAFILL function, 20, A.2.12
name, 20
changing object name, 22
dimension, 20
listing names of dictionary entries, 20
NAME dimension, 20
names
listing for objects, 18
listing objects by, 18
qualified object, 3.3.1
NASKIP option, 20, A.2.12
NASKIP2 option, 20, A.2.12
NASPELL option, 10, 20
NATRIGGER
See $NATRIGGER
NATRIGGER property
See $NATRIGGER property
natural logarithm, 18
negative value, 21
in output, 21
obtaining the root, 23
net present value, 20
NEW_TIME function, 20
NEXT_DAY function, 20
NLS options, 20, A.2
NLS_CALENDAR option, 20
NLS_CURRENCY option, 20
NLS_DATE_FORMAT option, 20
NLS_DATE_LANGUAGE option, 20
NLS_DUAL_CURRENCY option, 20
NLS_ISO_CURRENCY option, 20
NLS_LANG option, 20
NLS_LANGUAGE option, 20
NLS_NUMERIC_CHARACTERS option, 20
NLS_SORT option, 20
NLS_TERRITORY option, 20
NONE function, 20
NORMAL function, 20
NOSPELL option, 20
NPV function, 20
null values
See NA values
NULLIF function, 20
numbers
assigning random numbers, 22
commas in output, 11
decimal marker for output, 12
decimal places in output, 12
determining sign of, 23
negative values in output, 21
rounding, 23
thousands marker for output, 25
NUMBYTES function, 20
NUMCHARS function, 20
numeric data types, 2.2
comparing, 3.7.3, 3.7.3.3
mixing, 3.5.1
numeric expressions, 3.5
data type of the result, 3.5.1
dates in, 3.5.3
mixing data types, 3.5.1
text dimensions in, 3.5.2
numeric functions, A.3.10, A.3.10
numeric options, A.3.10
numeric values
rounding, 23
NUMLINES function, 20
NVL function, 20
NVL2 function, 20

O

OBJ function, 21
object definitions
adding descriptions to, 17
deleting descriptions from, 17
statements for manipulating, A.3.14
objects, 11
acquired (list of), 10
checking for changes, 21
compiling, 11
creating by copying, 11
creating properties, 21
data type of (determining), 21
defining, 12
definition (retrieving), 21
deleting, 12, 12
describing its definition, 13
describing its properties, 15
dimensions of (retrieving), 21, 21
dropping changes, 23, 23
exporting from analytic workspace, 14
identifying triggers, 26
importing into analytic workspace, 16
in expressions, 3.3
listing, 21
listing names of, 18, 18, 20
loading, 18
making current, 11
managing in multiwriter mode, A.3.4
obtaining information, 21
pages used to store (determining), 21
qualified name, 3.3.1
recalculating permissions, 21
renaming, 22
restrictions on name, 12
statements for defining, A.3.2, A.3.14
statements for deleting, A.3.14
storage class (determining), 21
testing for existence, 13
OBJLIST function, 21
OBSCURE function, 21
OESEIFVERSION option
name change, Preface
See EIFVERSION option
OKFORLIMIT option, 21
OKNULLSTATUS option, 18, 21
OLAP
Data Definition Language See OLAP DML
OLAP DML
definition, 1.1
functional categories, A.1
OLAP DML statements
abbreviations, 7
OLAP session cache
blocking creation of, 23
checking if empty, 21
defined, 23
for variable, 21
non-NA values, 21
populating with aggregated values, 8, 26
populating with NA values, 26
ONATTACH program, 21
OPEN command See SQL command in OLAP DML, 24
operating system, identifying, 25
operators, 18
Boolean, 3.2.3
comparisons, 3.2.3
conditional, 3.8, 3.8
LIKE, 17, 17, 18
logical, 3.2.3
overview, 3.2
substitution, 3.9
options
displaying value of, 1.2.1
localization, 20
NLS, 20
restoring previous values, 7.2.4.3
retrieving, 1.2.1
saving current values, 7.2.4.3
specifying, 1.2.1
Oracle OLAP
internal build number, 13
outfile
current, 13
OUTFILE command, 21, 21
OUTFILEUNIT option, 21
out-of-range decimal values, 12
output, 21
redirecting, 21
saving in a file, 21
overflow condition, 12

P

padding expressions, 18, 23
PAGE command, 21
PAGENUM option, 21
PAGEPRG option, 21
PAGESIZE, 21
paging in reports, 21
forcing a page break, 21
line number on current page, 18
lines for bottom margin, 10
lines for top margin, 25
lines left on page, 18
lines on a page, 21
page number, 21
producing a custom heading, 21
producing a standard heading, 25
turning on, 21
PAGING option, 21
PARENS option, 21
PARSE command, 17, 21
parsing expressions, 21
partition templates, 12, 12
defining, 12, 12
deleting, 12
maintaining, 18
retrieving partition names, 21
retrieving partitioning method, 21
PARTITIONCHECK function, 21
partitioned variables, 12, 12
aggregating, 9, 21
defining, 12
deleting data from, 18
maintaining, 18
retrieving dimensions of, 21
retrieving partitioning method, 21
partitioning methods, 21
partitions, 12, 12
adding, 11
adding values to, 18, 18
concat, 12
defining, 12
list partitions, 12
deleting, 12
deleting data, 18
external, 9, 11, 12
internal, 12
list, 12
locking segments of, 24
moving values, 18
range, 12, 21
retrieving dimensions of, 21
retrieving names of, 21
specifying values of, 18
pattern matching, 3.7.6.1
payment schedules, 15
for loan interest, 15, 26
for loans, 15, 26
PERCENTAGE function, 21
permission
programs, A.3.18.5
permission programs, 7.6.1.1, 21, 21, 21
permissions, 21
assigning to an object definition, 21
recalculating permission, 21
specifying conditions for accessing, 21
violations of, 21
PERMIT command, 21
PERMIT_READ program, 7.6.1.1, 21
PERMIT_WRITE program, 7.6.1.1, 21
PERMITERROR option, 21
PERMITRESET command, 21
platform, determining, 25
POP command, 7.2.4.3, 7.2.4.4, 21, 21
popping a whole series at once, 21
POPLEVEL command, 21
nesting, 21
using, 7.2.4.5
populating
alias dimensions, 12
POUTFILEUNIT option, 21
PRECOMPUTE statement, 8
PREPARE command
See SQL command in OLAP DML
PRGERR keyword (SIGNAL), 26
PRGTRACE option, 21
PROCEDURE statement
See SQL command in OLAP DML, 24
profiles, 25
PROGRAM command, 21
programs
adding program contents to a definition, 21
branching, 10, 11, 25
branching in, 18
branching labels, 16
calling, 10
case statement, 25
comment lines in, 7.2
compiling, 7.3, 7.3, 11, 11, 11
conditional execution of commands, 16, 26
debugging, 7.4, 14
declaring arguments in, 7.2.2.1
defining, 12
deleting, 12
determining how invoked, 10, A.3.18.5
error handling, 13, 13, 26
errors in, 7.2.5
executing, 7.5
halting execution with an error, 23
hiding, 16
local variable, 26
passing arguments to, 10, 10, 10, 10
performance cost, 25
permission, 7.6.1, 7.6.1.1, 21, 21, 21, 21, 21, 21, A.3.18.5, A.3.18.5
preserving environment, 7.2.4, 7.2.4
preserving status, 11, 11
repeating commands, 15
restoring previous values, 7.2.4.3
restoring status, 21, 21
returning a value, 23
saving compiled code, 7.3
saving current values, 7.2.4.3
saving status, 21, 21
startup, 7.6.1
statements for, A.3.18
suspending execution, 23
terminating execution of, 23
timing execution, 20, 25
trigger, 7.6.3.2, 26, 26, 26, 26, 26, 26, 26, 26
unhiding, 26
properties, 21
copying with an object definition, 11
creating for objects, 21
listing for objects, 15
PROPERTY command, 21
event, 26, 26
trigger, 26, 26
Property event, 26
PUSH command, 7.2.4.4, 21, 21
marking start of series, 21
placement, 7.2.5.6
using, 7.2.4.3
PUSHLEVEL command, 21
nesting, 21
placement, 7.2.5.6

Q

QDR, 3.3.4.2
QUAL function, 3.11.2.7, 21
qualified data references
ampersand substitution, 3.11.2.6
creating, 3.11.2
definition of, 3.11.2
for dimensions, 3.11.2.5
introduced, 3.3.4.2
qualifying a relation, 3.11.2.4
replacing dimension of variable, 3.11.2.2, 3.11.2.3
specifying explicitly, 21
using with relation, 3.11.2.4
with assignment statement, 3.11.2.2
with dimensions, 3.11.2
with relations, 3.11.2.4
with variables, 3.11.2.2, 3.11.2.2, 3.11.2.3
qualified object name, 3.3.1

R

RANDOM function, 22
random numbers, 20, 22
random sparsity, 12
RANDOM.SEED.1 option, 22
RANDOM.SEED.2 option, 22
range partitions
defining, 12
retrieving calculation for, 21
RANK function, 22
number of calls to, 22
number of computed values, 22
number of triggered sorts, 22
RANK_CALLS option, 22
RANK_CELLS option, 22
RANK_SORTS option, 22
ranking performance monitoring, 22
reading files, 22
current record number, 22
error diagnosis, 14
FILEREAD command, 15
processing a record, 15
reading a record, 15
RECAP command, 22
RECNO function, 22
RECURSIVE option, 22
REDO command, 22
REEDIT command, 22
REGRESS command, 17, 22
regression statements, A.3.11.1
regressions
linear, 22
statements for, A.3.11
REGRESS.REPORT program, 22
related dimensions, 3.3.3.3, 22, 25
limiting to, 18
RELATION command, 22
RELATION statement
for aggregation, 8
for allocation, 9
relational tables See tables
relations
assigning values to, 23, 23, 23
comparing to text literals, 3.7.6.2
default, 3.3.3.3, 22
defining, 12, 12
limiting to single value, 3.11.2.4
QDR with, 3.11.2.4
replacing dimension of, 3.11.2.4
RELEASE command, 22
REM function, 22
remainder after division, 22
REMBYTES function, 22
REMCHARS function, 22
REMCOLS function, 22
REMLINES function, 22
RENAME command, 22
REPLBYTES function, 22
REPLCHARS function, 22
REPLCOLS function, 22
REPLLINES function, 22
REPORT command, 22
reporting, 22
reports
processing ROW command output, 23
producing, 22, 23
producing with ROW commands, 23
RESERVED function, 23
reserved words, 23, 23
RESYNC command, 23, A.3.4
RETURN command, 23
return value of a program, 23
REVERT command, 23, 23
ROLE option, 23
roles, 25
root of negative number, 23
ROOTOFNEGATIVE option, 23
ROUND function
for dates and time, 23
for numbers, 23
ROW command, 23
processing output, 23
ROW function, 23
RPAD function, 23
RTRIM function, 23
running totals, 23, 26
run-time aggregation, 4.4
RUNTOTAL function, 23

S

scenario models, 6.2.6
seasonal data, 15
SECONDS option, 23
segment width, 11
segments
analytic workspace, 10
locking, 24
retrieving maximum size of, 10
SELECT statements (in OLAP DML), 24
See also SQL command in OLAP DML
selecting
alias dimension values, 12
data, 1.5, 18
SESSCACHE option, 23
session cache
See OLAP session cache
sessions, 18
preserving environment, 7.2.4, 7.2.4
recording in disk file, 18
restoring environment, 7.2.4.3
user ID, 25
SET command, 23
SET1 command, 23
SHOW command, 23
SIGN function, 23
SIGNAL command, 7.2.5.4, 23
simultaneous equations in models, 6.2.5
SIN function, 23
sine calculation, 23, 23
SINH function, 23
SLEEP command, 23
slowest-varying dimension, 12
smaller value of two expressions, 19
SMALLEST function, 23
smallest value of an expression, 23
SMOOTH function, 23
solution variables
defined, 6.1
example of, 19
SORT
command, 23
function, 23
SORTCOMPOSITE option, 23
sorting
dimension values, 18
status list of a dimension, 18, 23, 23
valuesets, 23, 23
SORTLINES function, 23
SOURCEVAL statement, 9
sparse data, 17
base dimension value, 17
changing definitions, 11
eliminating, 12
exporting, 14
importing, 16
index algorithm, 23
obtaining information, 21
reading from files, 15
renaming composites, 22
reporting, 22, 23
specifying composites, 12
SPARSE keyword, 12
SPARSEINDEX option, 23
sparsity
controlled, 12
random, 12
See also sparse data
special characters, 2.3.2
spreadsheets
defining, 12
exporting to, 14
importing data from, 16, 16, 16
See also worksheet objects
SQL (in OLAP DML)
defining cursors, 24
embedding statements, 7.6.2.1.1, 24
OLAP DML options, A.2.8
precompiling statements, 24
retrieving errors, 24, 24
stored procedures, 24
SQL command in OLAP DML, 24
CLEANUP, 24
CLOSE, 24
DECLARE CURSOR, 24
EXECUTE, 24
FETCH, 24
IMPORT, 24
PREPARE, 24
PROCEDURE, 24
SELECT, 24, 24
SQLBLOCKMAX option, 24
SQLCODE option, 24
SQLCOLUMNS procedure, 24, 24
SQLERRM option, 24
SQLFETCH function, 24
SQLMESSAGES option, 24
SQLTABLES procedure, 24, 24, 24
SQRT command, 24
square root, 24
calculating, 24
result for negative number, 23
standard deviation calculation, 25
STARTOF function, 24
startup programs, 7.6.1
STATALL function, 24, 24
STATDEPTH function, 24
statements
abbreviating, 7
altering order of execution, 16
editing previously executed, 22
functional categories of, A
looping, 7.2.3.1
reading from a file, 17
reexecuting, 22
sending to file, 22
STATEQUAL, 24
STATFIRST function, 24
STATIC_SESSION_LANGUAGE option, 24
statistical functions, A.3.10.3, A.3.10.3
STATLAST function, 24
STATLEN function, 24
STATLIST function, 24
STATMAX function, 24
STATMIN function, 24
STATRANK function, 24
status
determining, 24
setting, 18
setting inside a statement, 25
setting to null, 21
See also current status, default status, dimension status, status lists
status lists
base dimensions, 18
comparing, 24
current. See current status list
default, 1.5.1.2
empty, 21
first value in, 24
functions to retrieve, A.3.15
last value in, 24
looping over, 15, 21, 25
most recent value, 24
null values, 21
number of values in, 24
position in, 24
restoring, 21, 21
result of LIMIT command, 18
retrieving, 24
retrieving depth of, 24
retrieving value by position, 24
retrieving values from, 1.5.1.3, 24, 26
saving, 11, 11, 21, 21
saving in a context, 11
sending to outfile, 24
setting to null, 21
sorting, 18, 23, 23
STATUS program, 24, 24
STATVAL function, 24
STDDEV function, 25
STDHDR program, 25
line size for centering, 18
storage
changing, 11
of variables, 12
stored procedures
creating, 24
stored procedures (SQL)
executing, 24
STORETRIGGERVAL property, 21
See $STORETRIGGERVAL property
subevents, identifying, 26
substitution expressions, 3.9
substitution operator, 3.9
SUBSTR function, 25
SUBSTRB function, 25
substrings
retrieving, 17, 17, 25, 25
SUBTOTAL function, 25
subtotals, 25
in a report, 25
resetting to zero, 26
surrogate dimension, 12
defining, 12
surrogates
defining, 12
deleting, 12
SWITCH command, 10, 13, 25
SWTICH
conditional expression, 3.8.2
SYSDATE function, 25
SYSINFO function, 25
SYSTEM function, 25
system statements, A.3.1

T

tables
exporting from analytic workspaces, 24
importing into analytic workspaces, 24
TALLY function, 25
TAN function, 25
tangent calculation, 25
angle value, 10
arc, 10, 10
hyperbolic, 25
TANH function, 25
TCONVERT function, 25
temporary members
adding to dimension, 18
identifying, 17
TEMPSTAT command, 25
text
comparing values, 3.7.6
data types, 2.3
literals, 3.6, 3.7.6.2
manipulation functions, A.3.8
passing arguments as, 7.2.2.3, 18
special characters, 2.3.2
See also multiline text
text expressions, 3.5.2, 3.6
text formatting
functions for, A.3.8
importing worksheet data, 16
text functions
byte, A.3.8.2
character, A.3.8.1
list of, A.3.8
multiline, A.3.8.3
TEXTFILL function, 25
thousands marker, 25
THOUSANDSCHAR option, 25
time functions, A.3.9, A.3.9
time of day, 25, 25
time series, 17
cumulative totals over, 11
data from previous time period, 17
data from subsequent time period, 17
difference between time periods, 17
maximum value in period, 20
minimum value in period, 20
moving totals over, 20
percent difference between time periods, 17, 17
time-series functions, A.3.10.4, A.3.10.4
timing, 20
execution of program lines, 20
execution of programs, 25
title for a report, 16
TMARGIN option, 25
TO_CHAR function, 25
TO_DATE function, 25
TO_NCHAR function, 25
TO_NUMBER function, 25
TOD function, 25
TODAY function, 25
TOTAL function, 25
totals
calculating, 25
cumulative, 11
in a report, 22, 23, 23, 25
moving, 20
over time, 20
running, 23
TRACEFILEUNIT option, 25
tracking, 20
cost of program lines, 20
cost of programs, 25
TRACKPRG command, 25
TRACKREPORT program, 25
TRAP command, 7.2.5.1, 26, 26, 26, 26
TRIGGER command, 26
TRIGGER function, 26
trigger objects, 26
trigger programs
Assign, 26, 26
Delete, 26, 26
designing, 7.6.3.2
Maintain, 26, 26
Property, 26, 26
Update, 26, 26
TRIGGER_AFTER_UPDATE program, 26
TRIGGER_AW program, 26, 26
TRIGGER_BEFORE_UPDATE program, 26
TRIGGER_DEFINE program, 26
TRIGGERASSIGN command, 26
TRIGGERMAXDEPTH option, 26
triggers
Assign, 26, 26
creating, 26
Define, 26
Delete, 26
deleting, 26, 26, 26
events, 26
Maintain, 26
NA, 8, 26, 26
objects, 26
Property, 26
subevents, 26
Update, 26, 26, 26
TRIGGERSTOREOK option, 26
TRIM function, 26
trimming expressions, 18, 23
trimming strings, 26
TRUNC function, 26
for dates and time, 26
for numbers, 26

U

UNHIDE command, 26
UNIQUELINES function, 26
unnamed composites, 12
defining, 12
example of, 12
UNRAVEL function, 26
UPCASE function, 26
UPDATE command, 26
event, 26
events, 26, 26
trigger, 26
triggers, 26, 26, 26
user ID, retrieving, 25
user-defined functions
arguments in, 7.2.1
data type of, 7.2.1
USERID option, 26
USETRIGGERS option, 26

V

VALSPERPAGE program, 26
value name format, 26
See also VNF command
values
restoring previous, 7.2.4.3
saving current, 7.2.4.3
See also Boolean values
VALUES function, 26
VALUESET statement, 9
valuesets
assigning values to, 12
checking status of, 24
defining, 12, 12
deleting, 12
limiting, 12
multidimensional, 12
null, 21
number of values in, 24
retrieving values, 24, 24, 24, 26
retrieving values from, 24
setting the status of, 18
sorting values, 23, 23
VARCACHE option, 26
VARCACHE property
See $VARCACHE property
VARIABLE command, 26
variables
acquired, 10
adding partition, 11
Aggcount, 8, 11, 12, 12, 21
assigning values to, 23
defining, 12, 12
defining with composite, 12
deleting, 12
how data is stored, 12
limiting to single value, 3.11.2.2, 3.11.2.2, 3.11.2.3
local to a program, 26
partitioned, 9, 12, 12, 12
populating, 26
QDR with, 3.11.2.2, 3.11.2.2, 3.11.2.3
replacing dimension of, 3.11.2.2, 3.11.2.3
reshaping dimensionality of, 21
session cache, 21
storage of, 12
version of Oracle OLAP, 13
VINTSCHED function, 26
VNF
See value name format
VNF command, 26
VPMTSCHED function, 26

W

WEEKDAYSNEWYEAR option, 26
WEEKOF function, 26
WHILE command, 10, 26
used with BREAK, 10
used with CONTINUE, 11
WIDTH_BUCKET function, 26
wildcards, 3.7.6.1, 3.7.6.1
WKSDATA function, 26
WORKSHEET data type, 2.1
worksheet objects
cells, 26
data type of cells, 26
defining, 12, 12, 12
deleting, 12
dimensions, 12
See also spreadsheets
workspaces See analytic workspaces
WRAPERRORS option, 26

Y

YESSPELL option, 26
YRABSTART option, 26
YYOF function, 26

Z

zero, 13
dividing by, 3.5.5, 13
spelling of, 26
suppressing all-zero report rows, 26
ZEROROW option, 26
ZEROTOTAL command, 26
ZSPELL option, 26