Re: ISREDIT macro and ampersands

2005-08-06 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 08/04/2005 at 03:18 PM, Dave Salt <[EMAIL PROTECTED]> said: >The equivalent code in REXX does indeed have a problem. Please not that I wrote "that particular problem", not "a problem" and that I described the additonal problem in my next sentence. >The CLIST solutio

Re: ISREDIT macro and ampersands

2005-08-04 Thread Dave Salt
In <[EMAIL PROTECTED]>, on 08/03/2005 at 02:30 PM, Paul Gilmartin <[EMAIL PROTECTED]> said: >By my long experience, Rexx alone doesn't solve the problem. It seems >to be the ISREDIT subcommand interface WAD. "Shmuel Metz (Seymour J.)" <[EMAIL PROTECTED]> said: No; the ISREDIT subcommand never

Re: ISREDIT macro and ampersands

2005-08-04 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 08/03/2005 at 12:03 PM, "Gil, Victor x28091" <[EMAIL PROTECTED]> said: >When a source line happens to contain an ampersand it can still be >read by > ISREDIT (THELINE) = LINE &ROW >However, an attempt to rewrite it back [even unchanged!] > ISREDIT LINE

Re: ISREDIT macro and ampersands

2005-08-04 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 08/03/2005 at 02:30 PM, Paul Gilmartin <[EMAIL PROTECTED]> said: >By my long experience, Rexx alone doesn't solve the problem. It seems >to be the ISREDIT subcommand interface WAD. No; the ISREDIT subcommand never sees the ampersand. The equivalent code in REXX would

Re: ISREDIT macro and ampersands

2005-08-03 Thread Ted MacNEIL
>Use Rexx instead of CLIST. I tend to agree. I almost sent the same response. But, what's if it's 'legacy' code? So, why not give a solution rather than another problem? The only reason I didn't respond was because I had nothing constructive to say. (8-{]} -teD In God we Trust! All others bri

Re: ISREDIT macro and ampersands

2005-08-03 Thread Paul Gilmartin
In a recent note, Thomas Conley said: > Date: Wed, 3 Aug 2005 16:16:33 -0400 > > - Original Message - > From: "Gil, Victor x28091" <[log in to unmask]> > Sent: Wednesday, August 03, 2005 12:03 PM > > > > When a source line happens to contain an ampersand ... > > > > ISREDIT LINE

Re: ISREDIT macro and ampersands

2005-08-03 Thread Thomas Conley
- Original Message - From: "Gil, Victor x28091" <[EMAIL PROTECTED]> Newsgroups: bit.listserv.ibm-main Sent: Wednesday, August 03, 2005 12:03 PM Subject: ISREDIT macro and ampersands When a source line happens to contain an ampersand it can still be read by ISREDIT

Re: ISREDIT macro and ampersands

2005-08-03 Thread Dave Salt
ROTECTED]> Reply-To: IBM Mainframe Discussion List To: IBM-MAIN@BAMA.UA.EDU Subject: Re: ISREDIT macro and ampersands Date: Wed, 3 Aug 2005 11:39:32 -0500 Dave, That was it! Thanks a bunch! [I've tried other suggested solutions but they had the same issue. Thanks to everybody responded]

Re: ISREDIT macro and ampersands

2005-08-03 Thread Victor Gil
Dave, That was it! Thanks a bunch! [I've tried other suggested solutions but they had the same issue. Thanks to everybody responded] -Victor- On Wed, 3 Aug 2005 16:23:19 +, Dave Salt <[EMAIL PROTECTED]> wrote: >Gil, > >Try this: > >ISREDIT LINE &ROW = (THELINE) > >Hope that helps, > >Dave S

Re: ISREDIT macro and ampersands

2005-08-03 Thread Dave Salt
Gil, Try this: ISREDIT LINE &ROW = (THELINE) Hope that helps, Dave Salt SimpList(tm) - The easiest, most powerful way to surf a mainframe! http://www.mackinney.com/products/SIM/simplist.htm From: "Gil, Victor x28091" <[EMAIL PROTECTED]> When a source line happens to contain an ampersand i

Re: ISREDIT macro and ampersands

2005-08-03 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Gil, Victor x28091 > Sent: Wednesday, August 03, 2005 11:03 AM > To: IBM-MAIN@BAMA.UA.EDU > Subject: ISREDIT macro and ampersands > > > When a source line happ

Re: ISREDIT macro and ampersands

2005-08-03 Thread John P Kalinich
> However, an attempt to rewrite it back [even unchanged!] >ISREDIT LINE &ROW = &THELINE > fails, and so does an attempt to examine its contents with the &SUBSTR > function. Use the &NRSTR function. ISREDIT LINE &ROW = &NRSTR(&THELINE)

ISREDIT macro and ampersands

2005-08-03 Thread Gil, Victor x28091
When a source line happens to contain an ampersand it can still be read by ISREDIT (THELINE) = LINE &ROW However, an attempt to rewrite it back [even unchanged!] ISREDIT LINE &ROW = &THELINE fails, and so does an attempt to examine its contents with the &SUBSTR function.