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 |
is delete operation supported in an esds? Is rewrite operation possible in esds?
Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?
Explain the purpose of the file status clause in the select statement?
can you specify some the distinctive features of a ksds, key sequenced dataset?
How many Alternate Indexes you can have on a dataset?
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
what do you mean by the repro command?
explain in brief how are different versions of gdg named?
Syntax of AMS modal commands ?
Explain the device independent method to indicate where a record is stored?
Hi, I want to create alternate index on VSAM file.my file structure is ex: RoomID pic x(7) R000001 Floor pic a((6) First RoomNo pic x(2) FA1 Occupied(yes/no) pic a(3) Yes Occupied Batch pic x(10). Maths i want to create alternate index on floor,roomno fields.can i create alternate index on both the fields.and tell me how to create.
What is FREESPACE ?