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...

input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16....
output:- A = 100,B=36,C=50.
Here spaces are considered between numbers.
When we give input as above, the numbers should be added n
displayed.So please help me out.

Answer Posted / lalitha

Use Delimiter option in STRING function - COBOL to unstring
the numbers to variables and then sum it up.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

1412


Define static linking and dynamic linking.

1164


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2579


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1276


What do you understand by psb and acb?

1094


Describe the cobol database components?

1159


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1319


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5357


What is the difference between binary search and sequential search?

1070


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2202


In which area will you utilize 88 level items in cobol?

1145


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

4700


Write a program to enter and display the names of students in a class using the occurs clause.

1188


What are various search techniques in cobol? Explain.

1053


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2355