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 R-mode and A-mode?

3 Answers   TCS,


if a file has 1000 recods how copy the records from 1 to 100 records using sort

4 Answers   IBM,


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


what is s000 u4087 error? please give the all error codes in cobol,jcl.

0 Answers  


subscript and index r not coded in u r application program what will happen?

2 Answers  






How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

10 Answers   IBM,


What are VS COBOL 11 special features?

1 Answers  


WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH

2 Answers   Cap Gemini,


If I want to increase the Limit in GDG. What should I do?

2 Answers   IBM,


What are declaratives and what are their uses in cobol?

0 Answers  


What are the different rules to perform a Search?

0 Answers  


how do you reference the variable unblock file formats from cobol programs

0 Answers  


Categories