| 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. | Syntel | 1 |
| 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
| TCS | 2 |
| 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?
| Wipro | 2 |
| How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB | Polaris | 3 |
| period is missing in the cobol program which error we
getting | Tesco | 4 |
| 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
| TCS | 3 |
| In a program, variables are used but no DB2 involved in it.
Can you call it as host variables?? | EDS | 3 |
| 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? | RBS | 1 |
| 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
| TCS | 5 |
| |
| For more COBOL Interview Questions Click Here |