Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How do get the result of your program directly on your pc?

0 Answers   UST,


How many types of sorts are there in cobol?

5 Answers   Cap Gemini,


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 Answers  


where will u code file status ?

2 Answers   TCS,


when COMP-3 is preferrable?

3 Answers   Patni,


I have a File that has duplicate records. I need only those records that occur more than thrice.?

3 Answers   IBM, Wipro,


What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

0 Answers  


In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?

1 Answers  


1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?

2 Answers   EDS,


Categories