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
Answer Posted / ram
i didn't understand the problem
how u write 34 and 46 as length
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Using alternate indexes in batch program?
Differentiate between control interval (ci) and control area (ca)?
Discuss record management in vsam?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
what do you mean by recovery and speed parameters in define cluster command?
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output
What are the distinctive features of a ksda, key sequenced dataset?
Explain the significance of the shareoptions parameter?
What is a lds (linear data set)?
what are s0c1, s0c4, s0c5, s0c7 abends?
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...
how many buffers are allocated to vsam ksds and esds?
difference between vsam and database tables
what do you mean by the cobol record key clause in vsam?
What is a ci split? What is a ca split?