Like others I don't fully understand the question, but I can say that I think a 
CSECT is the smallest chunk of "stuff" that the link editor can manage. I don't 
think it can ever replace part of a CSECT.

All, perhaps what he is saying is this?

He includes module A with entry points X and Y
He wants to include another module B with entry point Y (and perhaps others) 
and use that Y, not the one in A (but still keep the X from A).

In which case you should be able to do something like (from memory -- look up 
the exact syntax)

REPLACE Y(NOUSEME)
INCLUDE A
...

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Ben Chin
Sent: Saturday, March 09, 2013 11:52 AM
To: [email protected]
Subject: iewl syslin

Hello,
It's been a some time (semi-retired), but I have a cobol program which has many 
sub-programs.
The problem I'm having is both includes have same sub-program one old and newer.
The sub-program is not defined as an csect in either programs, when attempting 
to change / replace in IEWL sub-program is NOT a CSECT OR SYMBOL WAS NOT FOUND.

Is there a way to extract/replace sub-program old for newer without sub-program 
being a csect?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to