Question:what will happen if i give program name and member name as
different? program runs successful or w'll abend?
Answer:
The program will be compiled successfully and the load willbe created with the member name only.
So, no issues withprogram name and member name being different.
(a)//COMPILE.SYSIN DD DSN=OZA093.SUNIL.COBO1(DATE),DISP=SHR
(b)//LKED.SYSLMOD DD
DSN=OZA093.SUNIL.LOADLIB(DATE),DISP=SHR
here (a) is for compilation.and (b) is for
execution.i.e.loadmodule of our program. after compilation
of our program.the compiler will generate an object code to
our program. this only going to be executed..what ever u
give at
LOADLIB(DATE)..this name (for my program loadmodule name is
date) should be specified at
//step exec pgm=loadmodulename.(here date)
No comments:
Post a Comment
Please Provide your feedback here