| Other COBOL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB | Polaris | 3 |
| Name the divisions in a COBOL program ? | | 3 |
| What will happen if you code GO BACK instead of STOP RUN in
a stand alone COBOL program ? | | 3 |
| Can we use goto statement in inline_perform ? | IBM | 2 |
| hai friends ,i have HSBc exam on this sunday,my platform is
Mainframe,i have 1 year exp,pls any one send me placement
papers of Hsbc and technical questions on mainframe | iNautix | 2 |
| what is the minimum number of lines a Cobol program should
have to successfully compile and run | ABC | 7 |
| 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 |
| How to display string in the reverse order using occurs
clause? | | 4 |
| 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 do you do to resolve SOC-7 error? | Sun-Life | 1 |
| When would you use in-line perform? | | 1 |
| what is level 66 means?? | | 3 |
| How can I tell if a module is being called DYNAMICALLY or
STATICALLY? | CTS | 3 |
| What is binary search? | | 2 |
| PERFORM ACCUMULATE-TOTALS
VARYING A FROM 1 BY 2 UNTIL A >2
AFTER B FROM1 BY 1 UNTIL B>2
AFTER C FROM 2 BY -1 UNTIL C<2
How many times the paragraph ACCUMULATE-TOTALS would be
exicuted?
| TCS | 4 |
| What is the difference between SEARCH and SEARCH ALL? What
is more efficient? | | 3 |
| Can we move X(9) to 9(9). If yes what are the ways for
doing this? | | 1 |
| what is meaning by design document? who can repared for
this? | TCS | 4 |
| what r the types of perform statement | | 2 |
| How do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning. | | 3 |
| |
| For more COBOL Interview Questions Click Here |