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

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

Is This Answer Correct ?    40 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain the means of supporting pseudo conversation programming. (Eg. Storing and restoring of states, control flow, error handling)?

614


How errors are handled in CICS programs?

643


Why do we need integrated cics translator?

627


when a task suspends all the handle conditions via the push command, how does the task reactivate all the handle conditions?

689


Explain the difference between a symbolic map and physical map?

563






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

630


define the field with ic in the bms map.

658


What is the difference between pct and fct?

656


Explain the difference between the xctl and link commands?

516


Explain cemt transaction commands?

596


mention the option used in the cics read command to gain accessibility directly to the file i/o area. (Assume cobol-ii).?

638


How do we pass parameters into a CICS –DB2 program

3639


In a particular cics program, what is the procedure to allocate dynamic memory?

734


What does the 'cebr:cics' transactions do?

576


What is journal recovery?

596