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
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 |
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 |
how do you reference the ksds vsam file formats from cobol programs
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
is it possible to declare index in cobol program? if it is not why its tell me pls
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
Can printer files (having 133 characters) be of variable length?
What is the difference between CALL BY VALUE and CALL BY CONTENT?
what are the isolation levels and where we use it in the db2 program
how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.
what is rediffine clause?in what situation it can use?give me real time example?