Custom entry name for LOAD macro



High Level Assembler(HLASM) for MVS & VM & VSE

Custom entry name for LOAD macro

Postby hadnochoice » Fri Mar 15, 2019 9:04 pm

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?
hadnochoice
 
Posts: 1
Joined: Fri Mar 15, 2019 9:00 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Custom entry name for LOAD macro

Postby steve-myers » Sat Mar 16, 2019 5:36 am

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to Assembler

 


  • Related topics
    Replies
    Views
    Last post