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
Can we change the password using ALTER? anyone tried and changed?
Name the divisions, which are available in a cobol program?
What is difference between static and dynamic call in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the cobol coding sheets?
What are the pertinent COBOL commands?
Name the sections present in data division.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the difference between Global and External Variables?
What kind of error is trapped by on size error option?
Define cobol?
How many sections are there in data division in COBOL?
What is the difference between PIC 9.99 and PIC9v99?
Write the code implementing the perform … varying.