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 |
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
How to execute a set of JCL statements from a COBOL program?
What is inspect in cobol ?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
what is filler and what is use of filler
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
In COBOL "BEFORE" advancing is there or not ?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the Importance of GLOBAL clause According to new standards of COBOL?