ALLInterview.com :: Home Page KalAajKal.com
 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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  COBOL
 
 


 

 
 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
Can anyone please give the example of Inline Perform.
 Question Submitted By :: Kiransegala
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can anyone please give the example of Inline Perform.
Answer
# 1
PERFORM UNTIL I = 10
   MOVE RATE(I) TO SPLIT-TOT(1)
   ADD 1 TO I
END-PERFORM.
 
Is This Answer Correct ?    0 Yes 0 No
Shanuss
 
  Re: Can anyone please give the example of Inline Perform.
Answer
# 2
PERFORM UNTIL WS-EXIT = 'Y'
           DISPLAY 'ENTER UR NAME '
           ACCEPT WS-NAME
           DISPLAY 'WANT TO EXIT'
           ACCEPT WS-EXIT
END-PERFORM.
 
Is This Answer Correct ?    0 Yes 0 No
Abhishek Vashishta
 
 
 
  Re: Can anyone please give the example of Inline Perform.
Answer
# 3
HI,

  Inline perform is like inline function in C++. which 
means in this case the control will not transfered to any 
particular paragraph where as Immediately throws the result 
of the code which has mentioned in the block perform and 
end-perform.

      Please correct me if i am wrong.
 
Is This Answer Correct ?    0 Yes 0 No
Anjan
 
  Re: Can anyone please give the example of Inline Perform.
Answer
# 4
There is one special thing about inline performs - there 
has to be a END-PERFORM associated with the perform 
statement otherwise it will give compile error. I have 
tried this as well.
 
Is This Answer Correct ?    0 Yes 0 No
Nikhil
 

 
 
 
Other COBOL Interview Questions
 
  Question Asked @ Answers
 
01 b pic +9(4) How many bytes it will take for storage???  1
what is the difference between start and startbr?  2
How do you set a return code to the JCL from a COBOL program?  3
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers. Syntel1
What is file status 39 ?  5
What is the different between index and subscript?  3
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all TCS2
How we copy a program from production region to development region.What is the process & syntax ?  3
What is the meaning of 'Eject' verb in cobol? Wipro2
How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB Polaris3
period is missing in the cobol program which error we getting Tesco4
study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid TCS3
In a program, variables are used but no DB2 involved in it. Can you call it as host variables?? EDS3
What are VS COBOL 11 special features?  1
Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.  6
What is the maximum size of a 01 level item in COBOL I? in COBOL II? RBS1
SIGN TRAILING SEPARATE field occupy ?  2
COMP-3 field occupy ?  4
What is the difference between Structured COBOL Programming and Object Oriented COBOL ?  1
The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND TCS5
 
For more COBOL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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