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 get the result of your program directly on your pc?
How many types of sorts are there in cobol?
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.
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?
where will u code file status ?
when COMP-3 is preferrable?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
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.
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)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?