Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2446
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: 10457
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 Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts can we hardcode a value in db2 load c... ram_vizag DB2 2 Wed Feb 28, 2018 11:04 pm
No new posts SQLCODE 518 while executing DB2 module. abdulrafi DB2 8 Wed Feb 07, 2018 10:46 am
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us