Greetings,

Can anyone suggest a method of isolating or extracting a CSECT
(statically-linked called program) from a load module?  The only (clumsy)
method I can think of is using (within the linkage editor or binder) a
REPLACE statement ahead of an INCLUDE statement and specifying in the
REPLACE all of the other CSECTS in the load module.  For example, if the
load module is called LOADMOD1 and contains CSECTS  A,B,C,D,E,F,G,H and I
want to isolate CSECT F, I would code:

              REPLACE A,B,C,D,E,G,H
              INCLUDE SYSLIB(LOADMOD1)
              NAME F(R)

Obviously this is unwieldy for a load module with lots of CSECTs.

Does anyone have a more elegant way of doing this?

Thanks,
Steff

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to