| Other COBOL Interview Questions |
|| Asked @
|I have a sequential file. How do I access a record in this
sequential file randomly in my program ?
|which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
|How can i write a comp-3 variable into a sequential file
should i declara the field in the file description as comp-
|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
|how to display comp3 variables reply soon ?
|How to Write the RESTART Logic Using COBOL?
|if we display var1 then what will b displayed in below
77 var1 pic s9(2) value -10.
77 var1 pic s9(2) value -11.
" " " -12.
" " " -13.
|In a COBOL program, 2 tables TABLE1 and TABLE2 are defined
that are indexed by INDEX1 and INDEX2 respectively. Can we
use INDEX1 with TABLE2 and INDEX2 with TABLE1?
|. How do we cast a variable in COBOL
|With in these three which one is the default one Call
Reference, Call By Value, Call By Content.-Which one is
|can anyone explain me the concept of COMP-4 PLEASE??
|I have a field with data type X(10). I want to perform
arithmetic operation on this field? I tried doing it by
moving the value into a numeric field. but it didn't work
out. I am getting a S0C7 abend. Pls let me know if there is
any way of getting this done?
|For more COBOL Interview Questions Click Here |