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 |
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
sample code for read a 2nd record from last in flatfile how can do?
how to transfer the file from pc to mainframe??
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
how to display comp3 variables reply soon ?
Which is not true about evaluate statement
What are 77 levels used for?
how we separate the cobol cics statements from cobol&cics programming?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,