Page 1 of 1

What is the Difference b/w Fixed block and Variable block?

PostPosted: Mon Jul 20, 2009 5:07 pm
by RajendraPrabhuS
Hi, This is Rajendra. I just want to know the difference between the Fixed Block and Variable Block in VSAM file handling?

.

Re: What is the Difference b/w Fixed block and Variable block?

PostPosted: Mon Jul 20, 2009 11:58 pm
by dick scherrer
Hello,

In one case every record will be the same length (fixed).

In the other (variable), the code must deal with records of different length. This is usually done by having a different "record type" for each format or some Occurs Depending On arrays in the data.

Re: What is the Difference b/w Fixed block and Variable block?

PostPosted: Tue Jul 21, 2009 9:25 am
by RajendraPrabhuS
Hi Dick,

Thanks so much for your valuable answer.

Have a great day.

Re: What is the Difference b/w Fixed block and Variable block?

PostPosted: Tue Jul 21, 2009 9:31 am
by dick scherrer
You're welcome - good luck :)

When there are new questions, someone will be here,

d