Hello,
It is still not clear where you are "stuck". . .
See if this example from IBM will help:
http://publib.boulder.ibm.com/infocente ... 160414.htm
Don't focus on the specifics of the example, just on how the LOAD and later CALL are coded.
belkin99 wrote:Good Catch,
This is Using Assembler with a "Load macro" to load & execute the "load module" that created in JCL steps.
Thats all Folks
The answer to your question is yes. The z/OS V1R9.0 MVS Assembler Services Reference (IAR-XCT) SA22-7607-12 manual, for example (other versions of z/OS have the same manual but the reference number would not be -12), has examples of the LOAD macro and describes its use.I am asking if is there any example showing how to load object module in the Assembly. Using LOAD module."
belkin99 wrote:... Finally, I would like to put what I learned
The Load Macro is a type of the SVC (supervisor Call) which allow to load LOAD Module or/and OBJECT module and/or Control statement into virtual storage ...
belkin99 wrote:... Finally, R15 will be 0, if the LOAD macro was success in the operation.
belkin99 wrote:Just I forget one thing,
To call the LOAD module, you will be able to use BAL