| Other COBOL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What will happen if we generate GDG +2 version instead of
+1 version? | T-systems | 1 |
| What is the linkage section? | | 2 |
| What COBOL construct is the COBOL II EVALUATE meant to
replace? | | 1 |
| What is SDSF? | | 2 |
| When would you use in-line perform? | | 1 |
| why occurs clause not mentioned in 01 level | Tesco | 3 |
| Identify the invalid dataname from the following:
(a) SAVINGS-ACCOUNT
(b) ANNUAL-ALLOCATION-FOR-OVERHEAD
(c) SAMOUNT250
(d) 12DEMAND
| TCS | 2 |
| 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 |
| 88 level entry is used for
(a) data items in WORKING-STORAGE SECTION
(b) items with RENAMES clause
(c) condition-names
(d) None of the above
| TCS | 2 |
| How can you pass values from COBOL program to non-COBOL
programs? | | 2 |
| Can a REDEFINES clause be used along with an OCCURS clause?
if yes,
01 WS-TABLE.
03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'.
03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you
expect?
if no,why?
| | 2 |
| When can the USING phrase be included in the call
statement ? | | 1 |
| consider the following piece of code
01 GROUP-ITEM
05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50
05 AMOUNT-2 PIC 9(4)V99 USAGE COMP
MOVE ZERO TO GROUP-ITEM
ADD 50 TO AMOUNT-1
what will be the content of AMOUNT-1?
a.50
b.100
c.0
d.unpredictable
| TCS | 2 |
| Consider the following:
77 A PIC 9(10)
77 B PIC 9(10)
77 C PIC 9(19)
MULTIPLY AB BY B GIVING C
Which of the following is true ?
(a) The execution of the above may result in size error.
(b) The execution of the above will result in size error.
(c) The definition of C is invalid resulting in compilation
error.
(d) No error will be thee and the program would proceed
correctly.
| TCS | 4 |
| What is an explicit scope terminator? | | 1 |
| .How to add one input & one Out file in existing cobol
program.
how approach tell me step by step.
| Syntel | 2 |
| consider the following piece of code
01 GROSS-PAY
05 BASIC-PAY PIC 9(5)
05 ALLOWENCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWENCES has a value
of 250,what will be
displayed by the statement
DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250
| TCS | 3 |
| How do we get current date from system with century? | | 2 |
| COMP field occupy ? | | 2 |
| 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING".
01 NAME2 PIC X(13).
now I want to display the value of NAME1 in reverse order
i.e value should be displayed as "GNIMMARGORP LOBOC"
HOW can I do that ??? please let me know if any one knows
it. | FirstApex | 7 |
| |
| For more COBOL Interview Questions Click Here |