what is freespace
Answers were Sorted based on User's Feedback
Answer / wairagade
Free space is the reserved space to be held free when the
cluster is initially loaded or when a mass insert
is done. The purpose is to allow data records to be
inserted or expanded in length when updated. The
FREESPACE parameter applies only to the data component of
KSDS. You can specify the amount of CI
and CA free space when you define the data set using the
IDCAMS DEFINE command. You can change
the amount of free space using the IDCAMS ALTER command.
Free space is specified as a percentage.
For a CI, VSAM takes the specified percentage times the
actual CI size rounded down to a full byte.
VSAM does not care about the record length. The CA
percentage specifies the amount of CIs to be held
per CA. The number of empty CIs per CA is the number of CIs
per CA times the CA percentage. The
track required for the sequence set is not included in the
calculation of CIs per CA, and the calculated
figure is rounded down to the next integer. If the figure
is less than one, it is the same as specifying 100%
for the CA percent value. If you specify 100 (the maximum
value) for both the CI and CA percentage,
each control interval will contain one record and each
control area will contain
one used control interval. If the FREESPACE amount is
altered after the data set is initially loaded, and
sequential insert processing is used, the allocation of
free space is not honored. The syntax of the
FREESPACE parameter is
FREESPACE (CI-percent CA-percent)
Hope this helps you
| Is This Answer Correct ? | 8 Yes | 0 No |
What is the main function of linear dataset?
I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the first record X=2 then the length of the file is 2+(10*3)+2=34 second record, x=4 then 4+(10*4)+2=46 If any time if the field x is updated then the total length changes. Is it feasible? Is it
What is the function of linear dataset in vsam?
There are at least seven IDCAMS commands; name and explain each of them ?.
name the utility program closely associated with vsam?
How to declare the EMP Name, EMP No., DOB in VSAM KSDS file? Please explain.....
Do all versions of the GDG have to be of the same record length ? is it possible to ovverride the dcb of the model dataset?
How to delete a member using JCL.?
How do you initialize a VSAM file before any operation? a VSAM with alternate index?
Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?
The first VSAM file V1 has 2 fields A and B . There is a DB2 file which has fields E and f. We need the fields A, B , E and F to another VSAM file called V2. Kindly mention the logic in procedure division in cobol..
how can you load a vsam data set with records ?