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



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

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

Postby RajendraPrabhuS » Mon Jul 20, 2009 5:07 pm

Hi, This is Rajendra. I just want to know the difference between the Fixed Block and Variable Block in VSAM file handling?

.
RajendraPrabhuS
 
Posts: 33
Joined: Mon Jul 20, 2009 4:54 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby dick scherrer » Mon Jul 20, 2009 11:58 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

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

Postby RajendraPrabhuS » Tue Jul 21, 2009 9:25 am

Hi Dick,

Thanks so much for your valuable answer.

Have a great day.
RajendraPrabhuS
 
Posts: 33
Joined: Mon Jul 20, 2009 4:54 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby dick scherrer » Tue Jul 21, 2009 9:31 am

You're welcome - good luck :)

When there are new questions, someone will be here,

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post