how would find total records in files using seqientional
Answer / guest
We can increment the count for each reading of record in a file.
Read file
count = count + 1
At end
display count
Is This Answer Correct ? | 13 Yes | 2 No |
What kind of error is trapped by on size error option?
in cobol perform stmt whether it first checks the condition or not
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
What do you understand by passing by reference and passing by content?
what is meant by binary search?
what is MSGLEVEL?
What is Redefines clause?
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
Give some examples of command terminators?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.