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
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
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
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
>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
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
- 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
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]
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
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
> -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
> 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)
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.
13 matches
Mail list logo