NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
I-29
ISLACK File Attribute
Compare the record description in the example to the SQL-format record description
in the last example and notice the indicator variables for JOBCODE-I and
SALARY-I that are included in the COBOL85 format but not in the SQL format.
>> INVOKE $VOL1.PERSNL.EMPLOYEE AS EMP FORMAT COBOL85
+> TO COBLIB (EMPSEC);
?SECTION EMPSEC
* Definition of table \SYS1.$VOL1.PERSNL.EMPLOYEE
* Definition current at 10:50:32 - 03/01/94
01 EMP.
02 EMPNUM PIC 9(4) COMP.
02 FIRST_NAME PIC X(15)
02 LAST_NAME PIC X(20)
02 DEPTNUM PIC 9(4) COMP.
02 JOBCODE-I PIC S9(4) COMP.
02 JOBCODE PIC 9(4) COMP.
02 SALARY-I PIC S9(4) COMP.
02 SALARY PIC 9(6)V9(2) COMP.
ISLACK File Attribute
ISLACK is a file attribute that specifies the minimum percentage of space to leave for
future insertions when loading index blocks. ISLACK applies only to key-sequenced
tables and to indexes.
The default is the value of the SLACK file attribute.
The default for SLACK is 15 percent.
percent
is an integer from 0 to 99 that specifies the percent of empty space to leave in each
index block during loading.
Considerations—ISLACK
ISLACK specifications are usually between 15 and 25 percent.
Specifying a larger-than-normal ISLACK value when a file is initially loaded, and
many more inserts are expected, can improve performance by reducing the number
of block splits required when inserts occur.
ISLACK percent