iewl syslin

2013-03-09 Thread Ben Chin
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-prog

Re: iewl syslin

2013-03-09 Thread Steve Comstock
On 3/9/2013 12:52 PM, Ben Chin wrote: 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 attempti

Re: iewl syslin

2013-03-09 Thread Gerhard Adam
ERV.UA.EDU 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 a

Re: iewl syslin

2013-03-09 Thread Charles Mills
arles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ben Chin Sent: Saturday, March 09, 2013 11:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: iewl syslin Hello, It's been a some time (semi-retired), but I have a cobol program which ha

Re: iewl syslin

2013-03-09 Thread Steve Comstock
list can do that. And, of course, this is all guesswork about what the OP is trying to say! -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ben Chin Sent: Saturday, March 09, 2013 11:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: iewl sy

Re: iewl syslin

2013-03-10 Thread Shmuel Metz (Seymour J.)
In <071601ce1d01$f7d41fd0$e77c5f70$@net>, on 03/09/2013 at 12:09 PM, Gerhard Adam said: >Something is missing. Since the INCLUDE statement species the DD >statement for the library in which the routine resides, you cannot >have two of them with the same name in that library. I also can't >th

Re: iewl syslin

2013-03-10 Thread Shmuel Metz (Seymour J.)
In <2475605789153616.wa.asmbenhotmail@listserv.ua.edu>, on 03/09/2013 at 01:52 PM, Ben Chin said: >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-progr

Re: iewl syslin

2013-03-10 Thread Shmuel Metz (Seymour J.)
In <513bf158.4060...@trainersfriend.com>, on 03/09/2013 at 07:35 PM, Steve Comstock said: >The syntax is good, and automatic replace works with CSECTs, but >I'm not really sure if the binder supports automatic replacement >for alternate entry points. The binder supports renaming an entry po

Re: iewl syslin

2013-03-10 Thread John Gilmore
Shmuel wrote: INCLUDE specifies the name of a member, not the name of a CSECT, and you nost certainly can have two members of a library containing the same CSECT name. The OP needs to disclose more data in order to diagnose his problem. and he is of course quite right. It is occasionally conve

Re: iewl syslin

2013-03-10 Thread chin ben
UND. IEW2322I 1220 6ENTRY PROGRAM1 IEW2322I 1220 7 NAME OLDPGM(R) Thx all for input. > Date: Sun, 10 Mar 2013 10:48:19 -0500 > From: jwgli...@gmail.com > Subject: Re: iewl syslin > To: IBM-MAIN@LISTSERV.UA.EDU > > Shmuel wrote: > > > INCLUDE spe

Re: iewl syslin

2013-03-10 Thread Steve Comstock
. IEW2322I 1220 6ENTRY PROGRAM1 IEW2322I 1220 7 NAME OLDPGM(R) Thx all for input. Date: Sun, 10 Mar 2013 10:48:19 -0500 From: jwgli...@gmail.com Subject: Re: iewl syslin To: IBM-MAIN@LISTSERV.UA.EDU Shmuel wrote: INCLUDE specifies the name of a member, not the name of a

Re: iewl syslin

2013-03-10 Thread chin ben
Steve, Just want to replace subpgm in oldpgm with subpgm from newpgm. Thx > Date: Sun, 10 Mar 2013 20:10:00 -0600 > From: st...@trainersfriend.com > Subject: Re: iewl syslin > To: IBM-MAIN@LISTSERV.UA.EDU > > Well your notes are confusing. > > First in your origi

Re: iewl syslin

2013-03-11 Thread Steve Comstock
LDPGM NAME OLDPGM(R) in both cases you may need to add your SCEELKED library to the SYSLIB concatenation Date: Sun, 10 Mar 2013 20:10:00 -0600 From: st...@trainersfriend.com Subject: Re: iewl syslin To: IBM-MAIN@LISTSERV.UA.EDU Well your notes are confusing. First in your original post you

Re: iewl syslin

2013-03-11 Thread Clark Morris
lark Morris >Thx > >> Date: Sun, 10 Mar 2013 20:10:00 -0600 >> From: st...@trainersfriend.com >> Subject: Re: iewl syslin >> To: IBM-MAIN@LISTSERV.UA.EDU >> >> Well your notes are confusing. >> >> First in your original post you implied the subrout

Re: iewl syslin

2013-03-11 Thread Shmuel Metz (Seymour J.)
In , on 03/10/2013 at 09:02 PM, chin ben said: >subpgmSD 1E3608448 That's a CSECT. >IEW2322I 1220 4CHANGE >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 REP

Re: iewl syslin

2013-03-11 Thread chin ben
; From: shmuel+...@patriot.net > Subject: Re: iewl syslin > To: IBM-MAIN@LISTSERV.UA.EDU > > In , on 03/10/2013 >at 09:02 PM, chin ben said: > > >subpgmSD 1E3608448 > > That's a CSECT. > > >IEW2322I 1220 4CHANGE > >SUBPGM(