| Other COBOL Interview Questions |
|| Asked @
01 VAR1 COMP-2 VALUE 0.
MOVE 10.2115 TO VAR1.
DISPLAY 'VAR1 =' VAR1.
10.2115 is stored as .10211499999999996E 02 in OS VS Cobol
10.2115 is stored as .10211500000000000E 02 in ecobol.
Any reason why?
|I want ALL jcl ERROR cods
|how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
|What is the difference between a binary search and a
|select TURE Statement(s) aboUt eject statemenet in cobol?
a)The eject statememnt must be the only statement on the
b.It causes the program to edit abnormally
c. eject statement can be written in either area A or
d. specifies that the next source statement is to be
printed at Top of the next page
e.The EJECTstatement has no effect on the compilation of
the source program itself
|88 level entry is used for
(a) data items in WORKING-STORAGE SECTION
(b) items with RENAMES clause
(d) None of the above
|Is this allowed?
03 FILLER-X PIC X(5) VALUE 'AAAAA'.
03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1).
can redefines clause be used with occurs clause?
|how you read control card into array?
|At the minimum, which division of COBOL is enough to be
|What is COMP SYNC?
|I have a seq file with different fields one field is address
with pic x(50) as input in a cobol program. In address there is
'PUNE' at any different positions in the address field ( form 1
t0 50) . My requirement is select the fields with address 'PUNE'
by using cobol. Please suggest
|what happens if we dont close cursor in db2-cobol pgm?
|For more COBOL Interview Questions Click Here |