Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


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-)?

0 Answers  


Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


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?

5 Answers   Cognizant,


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 ?

1 Answers   Mphasis,


What are various search techniques in cobol? Explain.

0 Answers  


what is the difference between external and global variables?

1 Answers  


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

1 Answers   TCS,


What are options have been removed in COBOL 11?

1 Answers  


what are the steps to sort in a cobol program?

2 Answers   Patni,


Categories