| Other COBOL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between PIC 9.99 and 9v99? | | 4 |
| perform I from 0 by 1 until I=5?How maney times it will
executes | | 7 |
| How do you set a return code to the JCL from a COBOL
program? | | 3 |
| What is the difference between index and subscript? | | 2 |
| I want ALL ERROR codes in VSAM | TCS | 2 |
| What is a scope terminator? Give examples. | | 1 |
| What does the IS NUMERIC clause establish ? | | 1 |
| Can you call an OS VS COBOL pgm from a VS COBOL II pgm ? | Microsoft | 3 |
| The order of precedence of arithmetic operators in an
expression can be
overridden with the use of
(a) []
(b) ()
(c) {}
(d) Any of the above
| TCS | 2 |
| What is SET TO TRUE all about, anyway? | | 2 |
| What is the difference between SEARCH and SEARCH ALL? | Cognizent | 4 |
| What are decleratives in COBOL ? | Xansa | 1 |
| 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 |
| 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 | 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. | | 10 |
| Can JUSTIFIED be used for all the data types? | | 1 |
| What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field? | | 1 |
| HELLO FRIENDS,
THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING
QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE
IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER | Patni | 5 |
| period is missing in the cobol program which error we
getting | Tesco | 4 |
| what is meaning by design document? who can repared for
this? | TCS | 4 |
| |
| For more COBOL Interview Questions Click Here |