| Other COBOL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the result of the following?
DIVIDE A INTO B GIVING C.
a.C=A/B
b.the reminder of B/A is stored in C
c.C=B/A
d.the reminder of A/B is stored in C
| TCS | 2 |
| Why occurs can not be used in 01 level ? | TCS | 2 |
| How do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning. | | 3 |
| In the JCL, how do you define the files referred to in a
subroutine ? | | 1 |
| What is the file organization clause ? | | 2 |
| what is the minimum number of lines a Cobol program should
have to successfully compile and run | | 2 |
| What is the difference between static call & Dynamic call? | | 1 |
| What are ISOLATION LEVELS? Where do we need to specify them? | | 2 |
| 1)what is the maximum limit for occurs?
Eg: 01 A PIC X(10) OCCURS N TIME.
What is the max value for N? | Wipro | 8 |
| How many maximum number of procedures can we write in one
COBOL program? | | 2 |
| after udatingg first 110 rows, my job abends. now how do i
change my cobol program so that when i restart the Job it
will start updating from 111th row ( i.e in next run I
di=ont want to update those 110 rows which are already been
updated in the first run before job abend) | Wipro | 6 |
| what r the types of perform statement | | 2 |
| i have the job which has written updated 100 records into
the table and for 101th record it got abended and i want to
start the job again and should wirte from 101th record not
from 1st record..how to do it..? | | 6 |
| What is a subscript ? | | 2 |
| OCCURS clause is used in the DATA DIVISION on data names at
(a) 01 level
(b) 77 level
(c) 88 level
(d) any level from 02 to 49
| TCS | 8 |
| What are ISOLATION LEVELS? Where do we need to specify them
in compiling JCL (Exactly which statement and what is
syntax for it)? | T-systems | 2 |
| What is Redefines clause? | | 2 |
| How can i write a comp-3 variable into a sequential file
should i declara the field in the file description as comp-
3? | | 1 |
| What are the differences bitween cobol and cobol-2? | Wipro | 1 |
| for an INITIALIZE and what keyword allows for an override
of the default. | | 1 |
| |
| For more COBOL Interview Questions Click Here |