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

print ids(/)char??what is the full form of ids??

2 Answers   HCL, Hotel Jobs,


In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?

0 Answers   RBS,


What is a cluster?

2 Answers  


What is free space?

1 Answers  


if you wish to use the rewrite command how must the vsam file be opened?

0 Answers   IBM,


What is the place for VSAM KSDS?

0 Answers  


How to createing new version of GDG with out loosing the data in preaves GDG version?

7 Answers   Patni, Satyam,


What is the Difference between LDS & ESDS ?

3 Answers  


What is the purpose of relative record data set used in vsam?

0 Answers  


What is the main function of key sequenced data set in vsam?

0 Answers  


What is the maximum number of Alternate Index ???

4 Answers  


what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?

0 Answers   IBM,


Categories