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 is the maximum size of a 01 level item in COBOL I? in COBOL II?
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
waht is inspect verb? where it can be in real time?
what is the purpose of linkage section?
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
Suppose i want to declare a binary comp fild of 7 byte .how to write?
Can we move X(9) to 9(9). If yes what are the ways for doing this?
What is the difference between SEARCH and SEARCH ALL? What is more efficient?
what is rediffine clause?in what situation it can use?give me real time example?