What is the meaning of 'TALLING' verb in cobol?
Answers were Sorted based on User's Feedback
Answer / varun v
It would be more if we explain with some example.
Lets use the variable used in Ans #1.
01 ws-variable pic x(10) value 'raja ramesh'
Now to get the total count of R's in 'raja ramesh', we can
use Inspect Tallying command.
INSPECT ws-variable TALLYING WS-TALLY1 FOR ALL 'R'.
Where WS-TALLY1 is a working storage variable which gives
the total count of R'S (Here WS-TALLY1 should be 2)
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
Answer / guest
tallying is ued for counting the lettlers..
it is ued in Inspect statement
ex: 01 ws-variable pic x(10) value 'raja ramesh'
if u want count the letter "r' count. u can use the
talyying variable...
please let me now if u need any clarifiaction on this..
raki_9@yahoo.co.in
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pradeep
TALLYING IS THE COUNT OR NO OF OCCURANCES OF A CHARACTER IN
A STRING WHILE USING INSPECT AND {EXAMINE(74 STANDARD)} ARE
USED.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ramu
tallying is a register is used to store the matching
characters count in a string.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....
What is report-item?
What is static and dynamic call in cobol?
What type of Call you would use if you don;t want the control back to the calling program?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How will you find the currepted records in a file
Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.
what is the use of keep and pass in disp