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 sync clause?
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
Can the OCCURS clause be at the 01 level?
SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.
can we redefine 77 level item is it possible
what is SYNCHRONIZATION?
Describe the cobol database components?
Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand
when COMP-3 is preferrable?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
how to access the file from prodution from changeman tool and to submit a file to production