| Other COBOL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is Pic 9v99 Indicates? | | 1 |
| Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are
the ways for doing this? | T-systems | 7 |
| how to resolve the file status 47....... | | 1 |
| What is the mode in which you will OPEN a file for writing? | | 2 |
| 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 |
| how to submit a jcl by cobol program.
clear me with an example. | HCL | 1 |
| Study the DATA DIVISION entries and the three PROCEDURE
DIVISION entries
given below:
01 END-OF-FILE-SWITCH PIC XXX.
88 NO-MORE-RECS VALUE "YES".
88 MORE-RECS VALUE "NO".
(i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS.
(ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA.
(iii) IF NO-MORE-RECS GO TO LAST-PARA.
Which are wrong?
(a) (i) and (ii)
(b) (ii) and (iii)
(c) (i) and (iii)
(d) all
| TCS | 2 |
| what is the basic concept of mainframe? what knowledge is
needed for learn this mainframe? | CSE | 2 |
| i have two file, each file having :
file1 is having 2 fields
field1 field2
file2 is having 3 fields
field1 field2 field3
my req is to make it one file like:
field1 field2 field1 field2 field3
if anyone know please send me syntax, i tried this with
DFSORT but could not succeed.
| Syntel | 7 |
| i WANT ALL ERROR codes IN CICS and DB2 | | 1 |
| How can I tell if a module is being called DYNAMICALLY or
STATICALLY? | CTS | 3 |
| What will happen if we generate GDG (+2) version without
generating (+1) version? | T-systems | 2 |
| Consider the following COBOL entries
05 X PIC 99 VALUE 10.
ADD 40 X TO X.
COMPUTE X = 3 * X - 40.
The result in X is
| TCS | 7 |
| consider the following
FD FILE-1
01 REC-1 PIC X(80)
......
WORKING-STORAGE SECTION
01 W-REC PIC X(90)
........
PROCEDURE DIVISION
FIRST-PARA
.......
READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG
which of the following is true with respect to the above?
a.REC-1 will contain nothing and W-REC will contain the
contains of the
record read
b.REC-1 and W-REC contain the same data
c.syntex is invalid and error will occur
d.REC-1 and W-REC must be of same size
| TCS | 1 |
| What is Alternate Index ? How is it different from regular
index ? | | 2 |
| What do you do to resolve SOC-7 error? | Sun-Life | 1 |
| What is Static and Dynamic linking ? | | 1 |
| 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 |
| What is the difference between static call & Dynamic call? | | 1 |
| What are decleratives in COBOL ? | Xansa | 1 |
| |
| For more COBOL Interview Questions Click Here |