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


I was asked in HSBC interview following questions:

1. A string was given " techincal seminar on cobol language"
Interviewer asked me to calculate the number of vowels in
this string.

Answers were Sorted based on User's Feedback



I was asked in HSBC interview following questions: 1. A string was given " techincal semina..

Answer / sakthi

INSPECT strng-1 TALLYING strng-2 FOR ALL 'A','E','I','O','U'.

Is This Answer Correct ?    40 Yes 3 No

I was asked in HSBC interview following questions: 1. A string was given " techincal semina..

Answer / srini

INSPECT strng-1 TALLYING count strng-2 FOR ALL 'A','E','I','O','U'.

Is This Answer Correct ?    10 Yes 4 No

I was asked in HSBC interview following questions: 1. A string was given " techincal semina..

Answer / ameen

here is an example for counting vowles in apple word..
apply the same code for your required string....
01 str pic a(5) value 'apple'.
77 cnt pic 9(1) value 0.
01 i pic 9(1) value 1.
procedure division.
perform varying i from 1 by 1 until i>5.
if str(i:1)="A" or "a".......write all vowels.
add+1 to cnt.
display cnt.

Is This Answer Correct ?    3 Yes 2 No

I was asked in HSBC interview following questions: 1. A string was given " techincal semina..

Answer / sridevi mj

We can use the built in function: % SCAN .
We compare the text given with the vowel set.
Get the poitions and then get to know how manvy vowels are
there.

Is This Answer Correct ?    0 Yes 0 No

I was asked in HSBC interview following questions: 1. A string was given " techincal semina..

Answer / ecknisha

Please help yourself to find the answer

Is This Answer Correct ?    3 Yes 13 No

Post New Answer

More CICS Interview Questions

What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUTRN with TRANSID to prog B. Prog A. is issuing XCTL to prog B?

3 Answers  


what is the deadlock?

2 Answers  


What is mainframe cics?

0 Answers  


How to get the cursor position when we receive a map?

0 Answers  


What is ATI? What kind of TDQ can be used?

3 Answers   IBM,


What is the significance of RDO?

1 Answers   IBM,


What is EIB. How it can be used?

1 Answers  


What is the CICS command that gives the length of TWA area?

3 Answers   IBM, TCS,


How do u know if a start command intiated a transaction or a terminal intiated a transaction

2 Answers   ProKarma,


What are the advantage of Model Data Set Table: it will be help to which among this DCB; LRECL; DISP; SPACE?

1 Answers  


Explain how do you handle errors in cics programs?

0 Answers  


How do you terminate an already issued DELAY command?

1 Answers   IBM,


Categories