| Other COBOL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Can we use redefine clause in occurs clause? | | 7 |
| What is "Call by content" and "call by reference"? | ADP | 1 |
| consider the following PROCEDURE DIVISION entry
OPEN EXTEND IN-FILE
identify the correct statement
a.organization of IN-FILE is sequential and records can
be added in the
beginning
b.organization of IN-FILE is sequential and records can
be added in the
end
c.organization of IN-FILE is indexed and records can be
added in the
beginning
d.organization of IN-FILE is indexed and records can be
added in the end
| TCS | 1 |
| How may divisions are there in JCL-COBOL? | IBM | 2 |
| What is difference between comp & comp-4?
| | 5 |
| How can we find out wether to declare the data items like
Integer, Char,Comp? If comp types how can we decide wether
it is Comp and Comp3.How it is?
Please Explain... Cheers. | Syntel | 1 |
| What are differences between COBOL and java ? why we are
giving more preference to COBOL ? | | 3 |
| What is the output generated by the following code?
01 GRP-I.
05 SUBFLD1 PIC XX VALUE "AB".
05 FILTER PIC X(6) VALUE SPACES.
01 GRP-2 REDEFINED GRP-1.
05 SUB-FLD2 PIC XX.
05 SUB-FLD3 PIC XX.
05 FILTER PIC X(4).
IF SUB-FLD1 NOT = SPACES
DISPLAY "SUBFLD1"
MOVE "ABBCCD" TO GRP-1
IF SUB-FLD3 = SPACES
DISPLAY "SPACES"
ELSE
DISPLAY "SUBFLD3"
DISPLAY "END"
ELSE
DISPLAY "SPACES"
DISPLAY "END".
(a) SUBFLD1
SUBFLD3
END
(b) SPACES
END
(c) SUBFLD1
END
(d) SUBFLD1
SPACES
| TCS | 5 |
| What is mean by maxcc | Syntel | 4 |
| 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 |
| Hi All,
Can anyone tell me how we can MOVE value of a X(19)
variable to a S9(17) COMP-3 variable?
Answer with an Example will be of great help. | EDS | 5 |
| What is LENGTH in COBOL II? | CSC | 1 |
| What is the difference between Structured COBOL Programming
and Object Oriented COBOL ? | | 1 |
| How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB | Polaris | 3 |
| Which of the following EDITind and PICTURE symbols is to be
used if a
minus(-) is to appear before the value if the value is
-ve and a plus(+)
is to appear before the value if the value is +ve?
(a) +
(b) -
(c) + OR
(d) It is not possible
| TCS | 6 |
| How to find How Many Lines in Sysin DD * Parameter Thru
Cobol Coding?
If any one knows the Answer Please Reply .....Thanks From
Shree | Merrill-Lynch | 1 |
| What is file status 39 ? | | 5 |
| Hai friends
why we need to read a file before re-write a record? | L&T | 4 |
| WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED,
FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED.
WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT
SHOULD BE USED WHEN | Infosys | 1 |
| What is the difference between write & move in COBOL? | | 1 |
| |
| For more COBOL Interview Questions Click Here |