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


Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what are s0c1, s0c4, s0c5, s0c7 abends?

1234


in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?

1139


Explain the index set?

1044


Explain the function of entry-sequenced data set?

972


Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.

2343


What are the different versions of gdg named?

934


what do you mean by idcams? Explain its purpose?

909


What is the purpose of idcams?

997


Explain the biggest disadvantage of using a vsam dataset?

979


What is the main function of linear dataset?

1017


Using alternate indexes in batch program?

1034


can you specify some the distinctive features of a ksds, key sequenced dataset?

980


Differentiate between ci split and ca split?

935


what is meant by s0c-07 system abend codes?

995


What is a ci split?

910