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

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

0 Answers   IBM,


What is the use of VSAM files? How to read this ?

3 Answers   CTS,


what are the different types of vsam files available? Explain them

1 Answers   IBM,


What is the meaning of the DEFINE MODEL parameter?

1 Answers  


FREESPACE can be specified for which type of cluster? a.LDS b.RRDS c.ESDS d.KSDS

2 Answers  


what how do you initialize a vsam file before any operation? A vsam with alternate index?

0 Answers   IBM,


Explain the catalog?

0 Answers  


Tell about the ams used in vsam?

0 Answers  


How to delete a member using JCL.?

5 Answers  


How many cluster index can have in a table?

3 Answers   HSBC,


What is recovery parameters in define cluster command?

0 Answers  


What is the maximum no. of records that can be allowed in VSAM ?

2 Answers  


Categories