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 the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Why occurs cannot be used in 01 level in COBOL?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
What are various search techniques in cobol? Explain.
what is the difference between external and global variables?
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
What are options have been removed in COBOL 11?
what are the steps to sort in a cobol program?