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 |
In a program, variables are used but no DB2 involved in it. Can you call it as host variables??
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
how can we find total no of records in a file ....is there any utility......?
Have you used comp and comp-3 in your project? And how?
what happens if parmparameter passes zero bytes to the program
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
How many sections are there in data division in COBOL?
How are the next sentence and continue different from each other?
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?
What are the different rules to perform a Search?
db2 variable decimal(15,2) what is the equalent size of cobol variable