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

if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1351


how do you reference the variable unblock file formats from cobol programs

1328


) How do u handle errors in BMS macro?

1972


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1123


how to move the records from file to array table. give with code example

2677


What is the use of intialize verb?

1256


Give some examples of command terminators?

1261


) what is the difference between AID and HANDLE AID?

2159


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1407


what are decleratives in cobol?

2264


What is link edit in cobol?

1198


How are the next sentence and continue different from each other?

1299


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1209


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1172