IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Extract a Csect from a Load module


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 203
Location: Toronto, ON, Canada

PostPosted: Sat Mar 24, 2012 12:40 am
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sat Mar 24, 2012 1:39 pm
Reply with quote

How about extracting it from the source?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Sat Mar 24, 2012 2:29 pm
Reply with quote

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
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 203
Location: Toronto, ON, Canada

PostPosted: Thu Mar 29, 2012 2:49 am
Reply with quote

Thanks for the tip. This is the first I heard about the CBT tape. I will take a look.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Unload and Load ISPF Table TSO/ISPF 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts How to load to DB2 with column level ... DB2 6
Search our Forums:

Back to Top