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.

Answers were Sorted based on User's Feedback



SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WI..

Answer / 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

SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WI..

Answer / pandu

Thanks Vinodh

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More COBOL Interview Questions

how do u indetify files succesfully executed or not ?

4 Answers   TCS,


what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?

9 Answers   TCS, Tech Mahindra,


How do you define a variable of comp-1 and comp-2?

0 Answers  


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

10 Answers   Huawei, IBM, TCS,


Can we redefine the field of x(200) to less than 200?

0 Answers  


In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.

1 Answers  


i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?

6 Answers  


RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE

12 Answers   TCS,


If we use GO BACK instead of STOP RUN in cobol?

2 Answers   Temenos,


i Want All cobol ERROR codes?

4 Answers   HCL, IBM,


What is the mode in which you will OPEN a file for writing?

4 Answers  


Categories