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 record label is empty or standard in file description of data division?

2 Answers   HCL,


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


How does IDMS communicate with CICS?

1 Answers   Covansys, Satyam,


how would find total records in files using seqientional

1 Answers   HSBC,


What is the difference between SEARCH and SEARCH ALL?

6 Answers   Cognizant,






db2 variable decimal(15,2) what is the equalent size of cobol variable

2 Answers   Syntel,


whats the difference between search and search all?

4 Answers   Patni,


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

0 Answers  


What is a scope terminator give example?

0 Answers  


i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 Answers  


have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..

5 Answers   TCS,


How can you display the SPOOL information ?

2 Answers  


Categories