GeekInterview.com
Series: Subject: Topic:
Question: 21 of 148

Coding RECFM=F over RECFM=FB

What is the advantage of coding RECFM=F over RECFM=FB why not F.
Asked by: karthikmainframes1 | Member Since Jan-2009 | Asked on: Jan 7th, 2009

View all questions by karthikmainframes1

Showing Answers 1 - 9 of 9 Answers

If you code with RECGM=F , 

Disadvantages:

            1) The read and write operations will be slow.

            2) It requires more buffer space also.

Advantages:

           1) The predecessor job can not see the blocked data.


Please correct me if i am wrong.

Thanks,
Lavanya T

  
Login to rate this answer.
dhs01

Answered On : Apr 15th, 2009

View all answers by dhs01

I could be wrong but years ago, F meant unblocked. Just tried it, F by itself still means unblocked. (ie LRECL=BLKSIZE)

  
Login to rate this answer.
harithaganna

Answered On : Sep 15th, 2009

View all answers by harithaganna

The main difference is,
If we use RECFM=F then, if the dataset is having the LRECL as 80 then the BLK size will also be 80.
If we use RECFM=FB then, if the dataset LRECL is 80 then the BLK size we can take as multiples of 80 eg:80,800,8000...and so on

Please correct me if i am wrong
Thanks & regards
Haritha

Yes  4 Users have rated as useful.
  
Login to rate this answer.
dhs01

Answered On : Sep 16th, 2009

View all answers by dhs01

The other 2 answers are correct. This one is questionable.

If you code with RECGM F
Disadvantages:
1) The read and write operations will be slow. 


Sequentially reading the entire file could be slower since an i/o would give less of the file. (ie more i/o although there are ways around this via chaining ccws, etc.) Each individual i/o would actually be a bit faster since you would be using BSAM which I would bet will out perform QSAM on an individual i/o also the amount of data being transfered per read would be smaller.



2) It requires more buffer space also.
Not really true. Buffers would be smaller.

Advantages:
1) The predecessor job can not see the blocked data.
The data is not blocked - there is no blocked data

Please correct me if I am wrong.

Thanks
Lavanya T


  
Login to rate this answer.
prakashc

Answered On : Nov 30th, 2009

View all answers by prakashc

Yes it is very much correct.


F= Fixed Length, Unblocked
FB= Fixed Length, Blocked
V= Variable Length, Unblocked
VB=Variable Length, Blocked.

Yes  1 User has rated as useful.
  
Login to rate this answer.
2chumma2

Answered On : Dec 7th, 2009

View all answers by 2chumma2

In PS and PDS datasets  the record format "F" is fixed which means all the records in the datasets have same length. 


Blocking means grouping of records into blocks before they are written in to volume. This blocking reduces the IBG (inter block gaps ).
Blocking conserves storage space on a volume by
reducing the number of inter-block gaps in the data set, and increases processing efficiency
by reducing the number of I/O operations required to process the data set.
Blocking can be done for both Fixed Length records (RECFM=FB) and Variable length
records (RECFM=VB)

F   REC1 IBG REC2 IBG
FB REC1 REC2 REC3 REC4 IBG

Since a block consists of one or more records, block size is usually multiple of record size.

Yes  1 User has rated as useful.
  
Login to rate this answer.
gopipraveena

Answered On : Mar 11th, 2010

View all answers by gopipraveena

If we give RECFM=F then it indicates the file is a flat file.
If we give RECFM=FB then it indicates the file is for reporting purpose. this means it reserves the First position of the record for the report format.

Please correct me if I am wrong.. 

  
Login to rate this answer.
ananta2010

Answered On : Jun 11th, 2010

View all answers by ananta2010

RECFM=F record formate = F means fixed in whcih block and records are of same size.

RECFM=FB fixed block in this several logical records are combined into one physical block.

  
Login to rate this answer.
guraddiv

Answered On : Jan 25th, 2011

View all answers by guraddiv

RECFM=F means each record will be stored in each block, where as in FB group of records will be stored in one block.


Please correct me if i am wrong.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.