In <[email protected]>, on 03/10/2013
at 09:02 PM, chin ben <[email protected]> said:
>subpgm SD 1E360 8448
That's a CSECT.
>IEW2322I 1220 4 CHANGE
>SUBPGM(SUBPGM) <- replace with 2011
5.1.2 Placement of control statements
Unless the -IMMED option is specified, the control statement
(such as CHANGE or REPLACE) used to specify an editing service
must immediately precede either the module to be modified or the
INCLUDE statement that specifies the module. If an INCLUDE
statement specifies several modules, the CHANGE or REPLACE
statement applies only to the first module included.
Also, the old and new names are the same.
INCLUDE OBJECT
REPLACE subpgm
INCLUDE SYSLIB(OLDPGM)
REPLACE program1
INCLUDE SYSLIB(NEWPGM)
will let oldpgm call the version of subpgm from newpgm without
dragging in program1 from newpgm. Is that what you're trying to do?
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2 <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN