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 |
write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
wht do u mean by (*,intrdr) wht is * used for ?
what happens of we dont give time stamp in precompilation process
Can we redefine the field of x(200) to less than 200?
why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.
where will u code file status ?
what is jcl approach for programming?
What R 2 of the common forms of the EVALUATE STATEMENT ?