Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Extract a Csect from a Load module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


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

PostPosted: Sat Mar 24, 2012 12:40 am    Post subject: Extract a Csect from a Load module
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: 2435
Location: Netherlands, Amstelveen

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

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10276
Location: italy

PostPosted: Sat Mar 24, 2012 2:29 pm    Post subject: Reply to: Extract a Csect from a Load module
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: 187
Location: Toronto, ON, Canada

PostPosted: Thu Mar 29, 2012 2:49 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us