What is the meaning of 'TALLING' verb in cobol?

Answers were Sorted based on User's Feedback



What is the meaning of 'TALLING' verb in cobol?..

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

What is the meaning of 'TALLING' verb in cobol?..

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

What is the meaning of 'TALLING' verb in cobol?..

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

What is the meaning of 'TALLING' verb in cobol?..

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

What is the meaning of 'TALLING' verb in cobol?..

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

Post New Answer

More COBOL Interview Questions

how will u code parm parameter and where pls ?

3 Answers   DELL,


waht is inspect verb? where it can be in real time?

1 Answers   Patni,


how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,


What is rmode(any) ?

0 Answers  


HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?

2 Answers  






I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?

3 Answers   HCL, IBM,


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?

2 Answers   Satyam,


i want a program using by if, evaluate , string, unstring, perform, occurs?

1 Answers  


How is sign stored in a comp-3 field?

7 Answers  


which generation language is cobol

4 Answers   Kanbay,


how to resolve the file status 47.......

1 Answers   MMM,


Categories