SV: How to "splitting" loadmudules



Yes, I'm doing just that now.
Pity if it's no other way..

 
Regards,
Thomas Berg
_________________________________________
Thomas Berg   Specialist   A M   SWEDBANK




-----Ursprungligt meddelande-----
Från: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxx] För
Edward Jaffe
Skickat: den 9 september 2011 16:37
Till: IBM-MAIN@xxxxxxxxxxx
Ämne: Re: How to "splitting" loadmudules

On 9/9/2011 12:39 AM, Thomas Berg wrote:
I have a need to "split" loadmodules into separate modules.
E g: a load module, A, is consisting of three submodules, A, B and C. I
want to split it into three separate modules into a loadlibrary.
Is there a more convenient way to do this other than generate REPLACE
cards for the BINDER and - in this example - run it three times.
(Other than writing an assembler program using IEW macros.)

To split a load module 'A' consisting of CSECTs 'A', 'B' and 'C' into
modules
'A', 'B' and 'C':

REPLACE A,B
INCLUDE SYSLIB(A)
ENTRY C
NAME C(R)
REPLACE A,C
INCLUDE SYSLIB(A)
ENTRY B
NAME B(R)
REPLACE B,C
INCLUDE SYSLIB(A)
ENTRY A
NAME A(R)

You can do all of the relinking/separating in a single binder step. The
approach
should work even if SYSLIB and SYSLMOD point to the same library.

I know of no other way...

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edjaffe@xxxxxxxxxxxxxxxxxxx
http://www.phoenixsoftware.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Reading DD card information
    ... Applications Architect - Mainframe Applications Development ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Reading DD card information
    ... The information contained in this electronic communication and any ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: QUESTION ABOUT ICKDSF - ICK31505I
    ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... erase or destroy the material. ...
    (bit.listserv.ibm-main)
  • Re: NO RESPONSE TO MY EARLIER POST ON HSM - REPOST
    ... NO RESPONSE TO MY EARLIER POST ON HSM - REPOST ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: IBMLink web is down SEV1 ticket opened with IBMLink help desk
    ... Edward Jaffe ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)