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 |
What is difference between static and dynamic call in cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How many bytes S(8) comp field occupy and its maximum value?
) how do u code after getting data?
what is SYNCHRONIZATION?
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.
what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?
Difference between next and continue clause
whats the difference between search and search all?
What are differences between Static Call and Dynamic Call?
10 Answers IBM, KBC, Keane India Ltd, Verizon,
how we rectify soc7 and soc4 errors in project?