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 are the different dataset organizations used in vsam?

0 Answers  


How do I declare the KSDS vsam so that I can store a reocrd with variable length?.

2 Answers  


looking at the basic definition of VSAM file how to recognize whether it is a KSDS OR RRDS OR ESDS ?

2 Answers   IBM, Infosys,


How do you define a KSDS ?

1 Answers   IBM,


should a AIX should be a unique value?

1 Answers  


What are the optional parameters to the input dataset While loading the empty cluster with the data records?

1 Answers   IBM,


What is the catalog?

1 Answers  


By seeing the file itself how can we identify whether it is A vsam file or flat file

7 Answers   IBM,


State the differences between vsam and non-vsam files?

0 Answers  


what are s0c1, s0c4, s0c5, s0c7 abends?

0 Answers   IBM,


there are seven idcams commands in vsam. Can you name and explain each of them?

0 Answers   IBM,


Using alternate indexes in batch program?

0 Answers  


Categories