Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the firs..

Answer / ram

i didn't understand the problem
how u write 34 and 46 as length

Is This Answer Correct ?    3 Yes 1 No

I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the firs..

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

Post New Answer

More VSAM Interview Questions

What is the purpose of control intervals in vsam?

0 Answers  


Is a delete operation possible in an ESDS?B. Is rewrite operation possible in ESDS ?

3 Answers  


what do you mean by recovery and speed parameters in define cluster command?

0 Answers   IBM,


what is the use of aix in vsam why do we go for aix and wht is build index in vsam?

5 Answers   HCL, IBM,


How can you create a VSAM dataset? Can you write a JCL for it?

4 Answers   IBM, TCS,


if not using the 'commit' when closing VSAM file,what will happend

5 Answers   CSC,


What is a CA, control area?

1 Answers  


Would you specify FREESPACE for an ESDS?

1 Answers  


Can we copy Vsam files from a Vsam file in Iebgener step?

4 Answers   iGate, Tech Mahindra,


Discuss record management in vsam?

0 Answers  


Using alternate indexes in batch program?

0 Answers  


Create syntax for a VSAM file ?

2 Answers   Xansa,


Categories