ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
   
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  CICS
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
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.

 Question Submitted By :: Ecknisha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
Please help yourself to find the answer 
Is This Answer Correct ?    1 Yes 7 No
Ecknisha
 
  Re: 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
# 2
INSPECT strng-1 TALLYING strng-2 FOR ALL 'A','E','I','O','U'. 
Is This Answer Correct ?    18 Yes 1 No
Sakthi
 
 
 
  Re: 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
# 3
INSPECT strng-1 TALLYING count strng-2 FOR ALL 'A','E','I','O','U'. 
Is This Answer Correct ?    2 Yes 0 No
Srini
 
  Re: 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
# 4
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 ?    1 Yes 2 No
Ameen
 
  Re: 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
# 5
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
Sridevi Mj
 

 
 
 
Other CICS Interview Questions
 
  Question Asked @ Answers
 
How do you make your BMS maps case sensitive?  2
What are the steps you go through to a create a BMS executable?  2
How do you handle errors in CICS pgms ?  1
first when i try to write a record into the file, wresp=duprec, but follwed with that if i try to read the record it say record not fnd.. actually the record is not written in the file, but it says that duprec when trying to write... why this happens, pls help me asap..! CGI1
What are the beginning and end points of an LUW called?  1
Explain the exact situation, when to use CALL, XCTL and LINK?  6
How is dynamic memory allocated within a CICS application program?  1
where we can declare the files in fct and pct and ppt and rct pls give clear structure IBM1
Name and explain some common CICS abend codes?  2
What is EIB. How it can be used?  1
why we code ACCUM parameter in cics send time  1
How can the fact that EIBCALEN is equal to zeros be of use to an application programmer?  1
 
For more CICS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com