The ADA_L3_ALLOW statement is an Adabas optimization statement that controls whether PowerExchange uses Adabas L3 commands to read records from a file in logical sequence by descriptor value.
z/OS
Adabas
ADAOPT and ADASTATS
No
ADA_L3_ALLOW={
N
|Y}
N
.
PowerExchange attempts to determine if the Adabas version that is running supports beginning and ending ranges. If PowerExchange determines that the Adabas version supports ranges, PowerExchange uses L3 commands. Otherwise, PowerExchange uses L2 commands.
Y.
If you specify Adabas descriptors on the WHERE clause of an SQL SELECT statement, PowerExchange uses L3 commands to read records in logical order from the Adabas file. If the SQL statement does not contain a WHERE clause, PowerExchange uses L2 commands to read records from the file in the physical order in which Adabas stored them.
PowerExchange does not verify that the Adabas version in use supports beginning and ending descriptor key ranges with L3 commands.
Specify Y if PowerExchange cannot correctly determine the running Adabas version.
Default is N.
To use L3 commands, you must also specify Y for the ADAOPT statement.
Unlike the ADAOPT statement, the ADA_L3_ALLOW statement does not cause PowerExchange to verify that Adabas version 7 or later is running. Use the ADA_L3_ALLOW statement when user modifications to Adabas prevent PowerExchange from verifying which Adabas version is installed.
By default, PowerExchange selects
Ranges Only
in the
Optimization Level
list in data maps. If you select
OFF
in the
Optimization Level
list, PowerExchange ignores the ADA_L3_ALLOW statement and does not use L3 commands when processing data for that data map.
If you specify Y for the ADASTATS statement, PowerExchange writes message PWX-02196 in the PowerExchange message log file. This message indicates whether you can use L3 commands and the status of optimization.