Hi,
My interviewer ask A calls B and C calls B, a and b are
static c and b are dynamic.what happens if they compile and
execute at same time.
Answers were Sorted based on User's Feedback
Answer / venu
in static call we cannot comile the main program without
compiling the subprg(B), you can get the error that is
object not found.
in dynamic call we can compile the main program without
compilation of subprg(B), but while executing the prg then
u can get the abend i.e, load not found that means s806.
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / vssd
Declaring B as RENT (Re ENTranat) would be of use.
This takes care of allocation of memory for variable usage
of Program B - thus allowing copies of B to be executed
parallely.
Hope this helps, please correct me if wrong.
| Is This Answer Correct ? | 4 Yes | 1 No |
can i use multiple when statements in search & search all ? justify ur answer?
What is SQL Code -904 and -903 in DB2 And how to handle it?
What is different between variable length and fixed length?
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
How you can delete a record from a ps file in cobol?
hw to create 3 dimensional array & hw to access it?
What are the ways you can generate a copybook?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
explain sorting techniques in cobol program?
How do you submit JCL via a Cobol program?
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?