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

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

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you accomplish breakpoint in intertest?

581


Name the two types of transient data queues?

564


What is the kcp in the cics?

693


How do we pass parameters into a CICS –DB2 program

3639


what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?

675






Which commend used for terminating a browser operation?

494


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

614


Can dynamic calls be used in CICS?

639


Explain the system transid cemt?

590


Define exec cics retrieve?

685


How can you access qsam (seq) files from cics?

623


Explain the mdt in cics?

615


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

557


We can allocate memory dynamically by using GET MAIN command my question is at what scenario we can't release this memory and reuse this same memory??

2712


What is meant by PPT and what are its uses?

608