| Other COBOL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| can u plz expain me how to declare dynamic array? what is
the meaning of depending on clause in dynamic array? | Satyam | 3 |
| consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be
displayedafter the
PERFORM is over?assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above since there is a syntex error
| TCS | 4 |
| What is the significance of 'above the line' and 'below the
line'? | | 1 |
| What is the LINKAGE SECTION used for? | | 2 |
| What is the difference between a binary search and a
sequential search? | | 5 |
| Please let me know at which Scenarios we will go for STATIC
call or DYNAMIC | IBM | 1 |
| Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example. | | 6 |
| What is 77 level used for ? | iGate | 5 |
| is it possible to pass an SQL query inside a jcl which is
inside a cobol program? | CTS | 2 |
| i have two file, each file having :
file1 is having 2 fields
field1 field2
file2 is having 3 fields
field1 field2 field3
my req is to make it one file like:
field1 field2 field1 field2 field3
if anyone know please send me syntax, i tried this with
DFSORT but could not succeed.
| Syntel | 9 |
| How to pass return codes from cobol to jcl? | | 3 |
| how to access vsam files in cobol and how to differentiate
that this is ESDS file | EDS | 1 |
| How can we know that cobol program is using report file or
simple file....? | | 4 |
| Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol. | CTS | 7 |
| COMP? | | 1 |
| Can we use icetool in cobol program? | | 3 |
| There is a production file which has millions of records in
it.The program that uses it ends up with an SOC7 abend.It
is sure that the abend is due to some invalid data in the
file.Is there any way to debugg the SOC7 abend with out
giving displays? I need the record which is cause for the
abend. | | 7 |
| how we can edit records in vsam data set and non vsam data
sets | ACS | 2 |
| How do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning. | | 3 |
| COMPUTE X = A * B - C * D and
COMPUTE X = (A * B) - (C * D)
(a) Are not the same
(b) Are same
(c) Syntactically wrong
(d) Will yield a run time error
| TCS | 1 |
| |
| For more COBOL Interview Questions Click Here |