| Other COBOL Interview Questions |
|| Asked @
|How would the number +1234 be stored if a PIC clause of
PICTUREs9(4) comp-3 were used?
|How do you submit JCL via a Cobol program?
|how can we find total no of records in a file ....is there
|a pic s9(4) comp
b pic s9(4) comp-3
move a to c
add a+B giving d.
what is ur declaration for c,d?
|consider the following two statements
MOVE 10 TO N
PERFORM PARA-X N TIMES
MOVE 5 TO N
how many times PARA-X willbe exicuted?
|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
|How to use the same cobol program in Batch and CICS
onlines ? Please expalin with an example. Thanks in advance.
|C1 C2 C3 are three conditions whose TRUTH values are as folloes.
C1-TRUE C2-FALSE C3-TRUE
A,B,C are defined as given below
A:C1 AND(NOT C2) OR C3
B.(NOT C1) OR (NOT C2 AND NOT C3)
C.(C1 OR C2)AND C3
D.C1 AND C2 OR C3
given the above information which of the following
statements are valid?
a.only A,B and C are TRUE
b.only A,C and D are TRUE
c.A,B,C and D are TRUE
d.only C and D are TRUE
|i have a file which contains records like
i want to display these records in reverse order like
please give me the cobol code (do not sort the records)
|What is SDSF?
|a. Can the OPTIONAL clause in COBOL only be coded for input
b. If it is coded for files opened in OUTPUT, I-O or EXTEND
mode, will it give a compilation error?
c. If there are no compilation errors and if such files are
not coded in the JCL, will the OPEN statement run fine when
these files are opened?
d. How will a WRITE statement work for the above files?
|how we can edit records in vsam data set and non vsam data
|For more COBOL Interview Questions Click Here |