Page 1 of 1

Custom entry name for LOAD macro

PostPosted: Fri Mar 15, 2019 9:04 pm
by hadnochoice
I have the module to be loaded, but its name differs due to some parameter. How can LOAD macro be used with dynamically changing entry name?

Re: Custom entry name for LOAD macro

PostPosted: Sat Mar 16, 2019 5:36 am
by steve-myers
Yes.

As you know, something like LOAD EP=XYZ can only load module XYZ.

However, you can specify the name of an 8 byte character variable.

         LOAD  EPLOC=VARIABLE
         ...
VARIABLE DC    CL8'XYZ'

Your code can change the contents of VARIABLE to any load module name the program requires.