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
Answers were Sorted based on User's Feedback
Answer / satish
yes,as you say occurs X times for every record. but not x times
for single record. so your total length is
if x=2
then 1st record--> 2+(10*2)+2=36.
| Is This Answer Correct ? | 0 Yes | 0 No |
Would you specify freespace ce for an esds?
What are the different dataset organizations used in vsam?
By looking into JCL can we identify the dataset is VSAM (VSAM dataset supposed to be a input dataset).In this scenerio how will we identify the dataset is VSAM ?
5 Answers Cognizant, EDS, Shridhar,
What is control interval?
What is the biggest disadvantage of using a vsam dataset?
What is IDCAMS? and what is the purpose of it?
should a AIX should be a unique value?
how to see the last records in vsam dataset??
FREESPACE can be specified for which type of cluster? a.LDS b.RRDS c.ESDS d.KSDS
How to insert values for variables that are declared as COMP-3 variables in COBOL program in an already created VSAM file.
What is the device independent method to indicate where a record is stored?
How to delete a member using JCL.?