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?
describe 805 error
What is the difference between SEARCH and SEARCH ALL?
Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS
I got user abend U4038 while compiling my runjcl.. can anyone help me?
how many bytes do SPPPP999 will store?
What are the different ways to run a COBOL DB2 program using JCL?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
What is binary search?
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
Describe the cobol database components?
2)Where the Plan is located in CICS-DB2?