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

SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT
HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO
PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.

Answer Posted / vinodh

ASSUME WS-NAME HAS 60 CHARACTERS
INSPECT WS-NAME TALLYING WS-COUNT CHARACTER 'A'
INSPECT WS-NAME REPLACING ALL 'A' BY 'E',

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print 10 to 1 if the input have only 10 digit number?

1220


What are various search techniques in cobol? Explain.

1028


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1605


what is amode(24), amode(31), rmode(24) and rmode(any)?

1093


What guidelines should be followed to write a structured cobol prgm?

1091


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1454


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

2325


How do you reference the fixed block file formats from cobol programs

1159


What is the difference between PIC 9.99 and 9v99 in COBOL?

1246


What is the compute verb? How is it used?

1077


A table has two indexes defined. Which one will be used by the SEARCH?

1232


What are the different rules to perform a Search?

1050


In COBOL programming, what is PERFORM? What is VARYING?

1089


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1157


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1177