what is lrec=f,what is difference between f,fb,v,vb?what is
default value?how do we came to know that records are in
f,fb,v,vb?

Answers were Sorted based on User's Feedback



what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know t..

Answer / giri reddy

F-fixed unblocked,fb-fixed blocked
v-variable unblocked,vb-variable blocked

default value is u-undefined

we can see the description of data set.

Is This Answer Correct ?    9 Yes 0 No

what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know t..

Answer / arthi

DCB=(RECFM=F,LRECL=80,BLKSIZE=800)

RECFM - to specify the record format
F-Fixed length record
V-Variable length record
FB-Fixed Block
VB-Variable Block
U-Undefined

for fixed length record the BLKSIZE is multiple of LRECL. For variable length records, BLKSIZE is multiple of (largest record+4)

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


wht r the advantages of 77 level number ?

8 Answers   TCS,


Define static linking and dynamic linking.

0 Answers  


how do you reference the rrds file formats from cobol programs

0 Answers  






tell me about examine inspect and evaluate ?

2 Answers   CTS,


How to read a 100 record from a file through cobol?

2 Answers  


IF I mention stop run in CICS what happens?

0 Answers   IBM,


A table has two indexes defined. Which one will be used by the SEARCH?

0 Answers  


What is the difference between comp and comp-3 usage?

0 Answers  


how to resolve the file status 47.......

1 Answers   MMM,


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

0 Answers  


Categories