Answer Posted / thomas vt
the right word is "TALLYING" and not "talling"
TALLYING IS THE COUNT OR NO OF OCCURANCES OF A CHARACTER IN
A STRINg.
for eg:
01 name pic x(7) value 'SUCCESS'
01 count pic 9(2).
INSPECT name TALLYING count FOR ALL 'S'.
and the result will be 3 in the variable "count".
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What type of SDLC u followed? Why?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Write down the divisions of cobol program?
In COBOL, what is the different between index and subscript?
What is amode(24)?
What is Pic 9v99 Indicates in COBOL?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are 77 levels used for?
What is comp-1 and comp-2?
what is amode(24), amode(31), rmode(24) and rmode(any)?
When is inspect verb is used in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is a report item?
How can you get the ksds file records into your cobol program?