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 |
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
How do you submit JCL via a Cobol program?
What is XDC ?
What is ASKTIME, SUSPEND
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
What does MAXCC 3 means? It is used in one my codes.
how many bytes do SPPPP999 will store?
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
What is the difference between comp and comp-3?
If we use GO BACK instead of STOP RUN in cobol?
whats the disadvantage of search all over search?