|
View previous topic :: View next topic
|
| Author |
Message |
jerryte
Active User

Joined: 29 Oct 2010 Posts: 205 Location: Toronto, ON, Canada
|
|
|
|
Is there a simple way to extract a single csect from a load module? If so then can someone provide some sample jcl or the name of the utility for this?
The hard way is to use the Linkage Binder, issue a REPLACE for all the csects I don't want leaving just the one I do want. So if a load module has 5 csects and I want the second one I have to do
| Code: |
REPLACE CSECT1,CSECT3,CSECT4,CSECT5
INCLUDE LOADLIB(LOAD1)
NAME CSECT2(R) |
|
|
| Back to top |
|
 |
PeterHolland
Global Moderator

Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
| How about extracting it from the source? |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10902 Location: italy
|
|
|
|
the best place to look at is the CBT tape
there are many <delinker> version who might fir Your need.
worth looking at is file 134 with a lot of useful tools from Greg Price
check if it contains the last REVIEW version which IIRC includes a pretty smart delinker |
|
| Back to top |
|
 |
jerryte
Active User

Joined: 29 Oct 2010 Posts: 205 Location: Toronto, ON, Canada
|
|
|
|
| Thanks for the tip. This is the first I heard about the CBT tape. I will take a look. |
|
| Back to top |
|
 |
|
|