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.

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you define attribute byte?

578


Define the term transaction routing?

558


What is the procedure to read a statement from tsq?

646


Explain the different ways of initiating transaction in cics?

501


if i am having a cics,vsam and db2 programs with each functions and i want that each function on screen?

1783






If we wish to create bms executable, what are the basic steps that the user has to go through?

630


What is the procedure to solve an ASRA ABEND?

607


What are the cics commands associated with task control?

528


For protecting a transaction using the transaction security function, the two things that must be done are?

1802


Explain how do you terminate an already issued delay command?

538


What is meant by an AICA ABEND?

652


When would you use abend command?

584


How do you use altindxs in batch, cics programs?

578


which is the cics control program that provides communication services between user written application programs and terminals?

557


Can you define commarea?

557