| Other COBOL Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| how would you resolve sb37 and SE37? |
Hewitt | 2 |
| what are the diferences b/w sub-script and index? |
| 4 |
| What is file status 92? |
| 3 |
| Determine the total no of bytes in the following.
01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999. |
| 12 |
| I have the requirement to compare the two files and pick up
the matching records.
File 1. file2
23 32
32 13
34 15
35 36
36 35
43
Get the matching records from this 2 files to out file. how
you will do this in cobol program? |
RBS | 12 |
| What is an explicit scope terminator? |
| 3 |
| What does EXIT do ? |
| 3 |
| In EBCDIC, how would the number 1234 be stored? |
TCS | 2 |
| Define REDEFINE clause and Is it possible to have the
redefine clause anywhere in the working storage section for
a data name? |
| 3 |
| i have a sequencial file contains multiple records, i want
to extract one row which contains various fields like order
number,date,warehouse,.ect.. in to the another file by
accepting the order number from jcl. how can i do it. pls
help me.. |
CGI | 4 |
| I have program P1 which calls file F1 which has 100 records
and following structure
001 ..................
002 ..................
003 ..................
098 ....................
099 ...................
100 ....................
Now I want to read these files and write these records in
file F2 in following manner.
001 ...... 051 .....
002 ...... 052 .....
003 ...... 053 .....
.......... .......
.......... .......
.......... .......
048 ........ 098 ......
049 .......... 099 .......
050 .... 100 ...... |
Accenture | 4 |
| how many bytes does s9(15) occupy in comp1 comp2 and comp3 ? |
TCS | 4 |
| |
| For more COBOL Interview Questions Click Here |