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: 183
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: 2431
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: 10232
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: 183
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 set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am


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