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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

708


What is comp-1 and comp-2?

764


What are 77 levels used for?

659


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1931






What is the compute verb? How is it used?

659


How many bytes S(8) comp field occupy and its maximum value?

1630


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

777


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.

932


How are the next sentence and continue different from each other?

766


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

710


In COBOL, what is the different between index and subscript?

756


Whats the difference between search & search ALL?

5264


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

748


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

17034