If I do f p'abc===xyz' I can find any string that begins with abc and
ends with xyz and has any 3 characters in the middle. Is the any way to
find any n-character string starting with abc and ending with xyz or do I
always have to explicitly specify the number of unknown characters.
Jim
In a message dated 7/19/2006 5:32:04 A.M. Central Standard Time,
[EMAIL PROTECTED] writes:
If I do f p'abc===xyz' I can find any string that begins with abc and
ends with xyz and has any 3 characters in the middle. Is the any way to
find any n-character string starting with abc and
Ed Finnell wrote...
Don't know if you can do it in one command but can do the ONLY
trick of ===ONLY abc pre
Then ===FIND xyz suf nx all
Don't remember where ONLY came from, PDS85 commands source or XEPHON.
Surely
it's the medication
ONLY is probably an Edit macro consisting of EXCLUDE
(tm) - The easiest, most powerful way to surf a mainframe!
http://www.mackinney.com/products/SIM/simplist.htm
From: Jim McAlpine [EMAIL PROTECTED]
Reply-To: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
To: IBM-MAIN@BAMA.UA.EDU
Subject: ISPF arbchar
Date: Wed, 19 Jul 2006 11:31:55 +0100
Ed Finnell wrote...
Don't know if you can do it in one command but can do the ONLY
trick of ===ONLY abc pre
Then ===FIND xyz suf nx all
The above would find strings such as zzzxyz abczzz, but I think Jim only
wanted to find strings where XYZ comes *after* ABC.
Dave Salt
SimpList(tm) -
In a message dated 7/19/2006 9:07:06 A.M. Central Standard Time,
[EMAIL PROTECTED] writes:
ONLY is probably an Edit macro consisting of EXCLUDE ALL followed by a FIND
ALL.
Right. There was a bug in something for a while that rolled everything to
uppercase but it went away a few
In a message dated 7/19/2006 9:16:59 A.M. Central Standard Time,
[EMAIL PROTECTED] writes:
The above would find strings such as zzzxyz abczzz, but I think Jim only
wanted to find strings where XYZ comes *after* ABC.
Find only strings PREFIXED with ABC, of this subset find only
[EMAIL PROTECTED]
Reply-To: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: ISPF arbchar
Date: Wed, 19 Jul 2006 10:43:39 EDT
In a message dated 7/19/2006 9:16:59 A.M. Central Standard Time,
[EMAIL PROTECTED] writes:
The above would find strings such as zzzxyz
On Wed, 19 Jul 2006 14:57:21 +, Dave Salt [EMAIL PROTECTED] wrote:
Find only strings PREFIXED with ABC, of this subset find only strings
suffixed with XYZ. Pre come before suf 99.98% of the time.
If a line contains the following string:
zzzxyz abczzz
The second 'word' in the above
What I want and would beg for is the ability to use a regular
expression in the ISPF editor. Beats the elided out of those
primitive picture clauses!
--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information
on the parameters.
Bill
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Jim McAlpine
Sent: Wednesday, July 19, 2006 3:32 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: ISPF arbchar
If I do f p'abc===xyz' I can find any string that begins with abc and
ends
Give it to me, please.
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of George, William (DHS-ITSD)
Sent: Wednesday, July 19, 2006 5:19 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: ISPF arbchar
Since seeing this, I put together an edit macro today
12 matches
Mail list logo