Determine Actual

Syntax

DETERMINE ACTUAL <variant> [ GS status ]
   <logic_block>
END | ENDEXIT | ENDNOPRINT
<variant> := <databaseVariant> | <extractFileVariant> | <sqlVariant>
<databaseVariant> := <iterator> [ SERIAL ] [ SECURE | KEYONLY ] 
[ MULTI records ]
<iterator> := <object> | <profile>
<object> := object_name
<profile> := object_name.profilename (argument [ ,...n] )

Parameters

Determine Actual can be abbreviated as DT Actual.

The Determine Actual logic command is followed by a sequence of logic statements and then by an End, EndExit, or EndNoPrint logic statement.

Description

The Determine Actual logic command can be used in three variants:

Refer to Determine Variants for more information on the Determine logic command.

Note: The Determine Actual logic command is ignored by Debugger for SQL Script variants. Debugger disregards any such Determine Actual logic statements it encounters and continues execution at the logic statement following the End or EndExit logic statement terminating the Determine Actual loop.

The Determine Actual logic command returns the results in an undefined order. It depends upon a database for the order of a result and the result might be different in different databases. For instance:

You can use the below logic command for returning the records in an undefined order:

Determine Actual Ispec

For the records to be displayed in a consistent order, you need to explicitly mention the Profile name. For example

Determine Actual Ispec.Profile