Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Seymour J Metz
> When all vendor extensions fail, as a last resort, try the ANSI standard.

Which says:

5.3.4
Other_negators
A configuration may have a category of characters in source programs called 
other_negators.
Other_negators are determined by the configuration. Only the following 
characters represent
possible characters of this category. The glyphs used to represent them in this 
document are also
shown:
– ^ circumflex accent, caret;
– ¬ not sign.

without specifying the code page.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Sunday, May 30, 2021 1:55 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

On Sat, 29 May 2021 20:15:17 -0700, Charles Mills wrote:

>That's why we get the big bucks.
>
Ah!  EBCDIC belongs top the Full Employment Program for coders!

On Sun, 30 May 2021 15:48:01 +, Seymour J Metz wrote:

>> That's not cheating;
>
>Of course it is cheating; it's not a faithful representation of the original 
>program, and it may even break the code.
>
When all vendor extensions fail, as a last resort, try the ANSI standard.

>> On LISTSERV WWW, 'C2AC'.
>
>I have no idea where the C2 is coming from; the AC is correct.
>
https://secure-web.cisco.com/1r8RtNoGC7MN4DzWahrzTCgqvQQWwTaG07pE9-yDSK7DSp1gCnjuJVB3CB_-wI6XkYuF2vMKPereGKi7n1RjDvthXeSrWtF52AlTgv1XaPWlNukYvcUT9i3jMf01xySURS9LVK_tNg5NCbSXZ08gHlNv0srsgOXjbxRblMucAu69SAf_O_4diZPm45oez_opk2AvsVSqEBeFdJC839PpZdkedd2jDBauPiomu8C1NIfR9zx0-ijmZ7-WpiDQS_AWA2YZYoI9RjlJdMqkzORLn7tBR7IPbmJjWvLCsB_msuPx5NyXlrEuhPstdSQxV8bjn9Ax_B2qLF5og-Wqo0it7FnvdxAAX78to4DY9tjoxJYppzXlWf-0WyVzxxqA5cXqh-StEM0lIf2ah2XAZk4DfmtGNrv7siYSx2QkoJd7J6DPPNQ0q1YQYQABHOgxNQNH0/https%3A%2F%2Fwww.utf8-chartable.de%2F

>
>On Su , 30 May 2021 01:03:04 +, Seymour J Metz wrote:
>
>>> I tate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when 
>>> using REXX on a PC, is ¬ 'AA'X or 'AC'X?  And, yes, you can cheat and use \
>>
It's uncharacteristic that you hold Windows as an exemplar.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Paul Gilmartin
On Sat, 29 May 2021 20:15:17 -0700, Charles Mills wrote:

>That's why we get the big bucks.
>
Ah!  EBCDIC belongs top the Full Employment Program for coders!

On Sun, 30 May 2021 15:48:01 +, Seymour J Metz wrote:

>> That's not cheating; 
>
>Of course it is cheating; it's not a faithful representation of the original 
>program, and it may even break the code.
>
When all vendor extensions fail, as a last resort, try the ANSI standard.

>> On LISTSERV WWW, 'C2AC'.
>
>I have no idea where the C2 is coming from; the AC is correct.
>
https://www.utf8-chartable.de/

>
>On Su , 30 May 2021 01:03:04 +, Seymour J Metz wrote:
>
>>> I tate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when 
>>> using REXX on a PC, is ¬ 'AA'X or 'AC'X?  And, yes, you can cheat and use \
>>
It's uncharacteristic that you hold Windows as an exemplar.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Seymour J Metz
> That's not cheating; 

Of course it is cheating; it's not a faithful representation of the original 
program, and it may even break the code.


> On LISTSERV WWW, 'C2AC'.

I have no idea where the C2 is coming from; the AC is correct.

> In Regina Ref.:

Try each of AA and AC on both OOREXX and Regina. 

This insanity inspired me to writ a TRYNOT script:

 /* Test whether REXX recognizes all of the logical not characters */
 Nots = '\' 'aa'x 'ac'x
 do 3
parse var Nots Not Nots
say 'Trying' Not c2x(Not)
interpret 'compare = a' Not'= b'
say Not 'recognized'
end

It's a throwaway; otherwise I would have intercepted the error and written my 
own message.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Saturday, May 29, 2021 11:07 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

On Sun, 30 May 2021 01:03:04 +, Seymour J Metz wrote:

>> I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when 
>> using REXX on a PC, is � 'AA'X or 'AC'X?  And, yes, you can cheat and use \
>
That's not cheating; it's USASCII.  Porrtable.

>... so you don't have to care which code page and which interpreter, but why 
>should you have to? And what if you want to download exist REXX code from, 
>e.g., z/OS, zVM?
>
In your email I see:
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
...is =AC...
On LISTSERV WWW, 'C2AC'.

In Regina Ref.:
2.5.4.1 Negators
Some of the above comparisons can be negated by prefixing a
negator character. Regina supports the following characters as negators:
\ Backslash (ANSI Standard)
^ Caret
~ Tilde
¬ Logical Not

Again, 'C2AC'x.  And when I paste it into a script I get a syntax error:
Error 13 running "/proc/4320/fd/pipe:[9516]", line 1: Invalid character in 
program
Error 13.1: Invalid character in program "('c2'X)"

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread David Spiegel

Hi Seann,
Thank you!

Regards,
David

On 2021-05-30 06:06, Sean Gleann wrote:

David:
"...I still would like to know how to display which codepage I am using"

I can't see that anyone else has said this, so I might be repeating
something...
In PCOMM, start up a session, and you should see a menu bar at the top,
where one of the options is 'Communication'.
Click on that, then 'Configuration', then 'Session Parameters'.
The value given in the 'Host Code-page' drop-down is what you're looking
for, I think.

Regards
Sean



On Sun, 30 May 2021 at 04:15, Charles Mills  wrote:


That's why we get the big bucks.

Charles

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Saturday, May 29, 2021 6:03 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression


I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when

using REXX on a PC, is ¬ 'AA'X or 'AC'X?  And, yes, you can cheat and use \
so you don't have to care which code page and which interpreter, but why
should you have to? And what if you want to download exist REXX code from,
e.g., z/OS, zVM?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Sean Gleann
David:
"...I still would like to know how to display which codepage I am using"

I can't see that anyone else has said this, so I might be repeating
something...
In PCOMM, start up a session, and you should see a menu bar at the top,
where one of the options is 'Communication'.
Click on that, then 'Configuration', then 'Session Parameters'.
The value given in the 'Host Code-page' drop-down is what you're looking
for, I think.

Regards
Sean



On Sun, 30 May 2021 at 04:15, Charles Mills  wrote:

> That's why we get the big bucks.
>
> Charles
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Seymour J Metz
> Sent: Saturday, May 29, 2021 6:03 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: ISPF Edit Macro Regular Expression
>
> > I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when
> using REXX on a PC, is ¬ 'AA'X or 'AC'X?  And, yes, you can cheat and use \
> so you don't have to care which code page and which interpreter, but why
> should you have to? And what if you want to download exist REXX code from,
> e.g., z/OS, zVM?
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Charles Mills
That's why we get the big bucks.

Charles

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Saturday, May 29, 2021 6:03 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

> I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when
using REXX on a PC, is ¬ 'AA'X or 'AC'X?  And, yes, you can cheat and use \
so you don't have to care which code page and which interpreter, but why
should you have to? And what if you want to download exist REXX code from,
e.g., z/OS, zVM?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Paul Gilmartin
On Sun, 30 May 2021 01:03:04 +, Seymour J Metz wrote:

>> I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when 
>> using REXX on a PC, is � 'AA'X or 'AC'X?  And, yes, you can cheat and use \ 
>
That's not cheating; it's USASCII.  Porrtable.

>... so you don't have to care which code page and which interpreter, but why 
>should you have to? And what if you want to download exist REXX code from, 
>e.g., z/OS, zVM?
>
In your email I see:
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
...is =AC...
On LISTSERV WWW, 'C2AC'.

In Regina Ref.:
2.5.4.1 Negators
Some of the above comparisons can be negated by prefixing a 
negator character. Regina supports the following characters as negators:
\ Backslash (ANSI Standard) 
^ Caret
~ Tilde
¬ Logical Not

Again, 'C2AC'x.  And when I paste it into a script I get a syntax error:
Error 13 running "/proc/4320/fd/pipe:[9516]", line 1: Invalid character in 
program
Error 13.1: Invalid character in program "('c2'X)"

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Seymour J Metz
tThe bottom half of the screen looks like a hex dump of the inbound data stream 
(Query Reply) for a Read Partition - Query. The code page is transmitted in 
binary, not as an EBCDIC character string. '0417'X is 1047 decimal.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tom 
Brennan [t...@tombrennansoftware.com]
Sent: Saturday, May 29, 2021 1:10 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

Hi Greg,

That's probably what I'm thinking of, or maybe in the back of my mind it
was something under ISPF written by Doug Nadel.  I forgot!

But I just tried your program and I see my current code page 1047
showing up as 0417 hex - highlighted at the bottom of this image:
http://secure-web.cisco.com/1aq8MAQ0mqu9RGkYOrJk8scEZiaEFfjCb-C8VQUdMPQlP49OoBM2Y8vmQ_IYYCZ3wBiGnZmMXhfuWqeuB5tBygpvGfX73OAM1ZY3kTOTvehwJPP-BCkBbhWBAxPGYWN9sJnQheD6qc2pm1bb9GTuW8x5vrSaoKaa07FuJKVlwLgttBL00_mGHseMubvpJ8qH0b6VzBgrsjiXGYquBN1el5SMS6UjcopIDp33lr9TgILxBwhq6ImJwPImny0YNIvn68p3XrbL6Wf1I3Ey28KO4-IzBnvL_mluzM9mYVHLPODfldoxuonVSpDZwkueiH7GUiKbPTvoMfcDvGunUcH41jTjK0xq9kuvAlP64S-odpGCznwAIh7zTx7HJO1XjW0OLk4VqpiIF3CPt5nPJlwwxXXYYN4PiXQmf8xoMsUZEwgyEw3H06t0ujLA_s8paXWOM/http%3A%2F%2Fwww.mildredbrennan.com%2Fmvs%2Ftermtest.png

Tom

On 5/28/2021 9:12 PM, Greg Price wrote:
>
> Tom,
> Might that have been TERMTEST from CBT file 134/135 ?
> Cheers,
> Greg
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Seymour J Metz
> I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when 
> using REXX on a PC, is ¬ 'AA'X or 'AC'X?  And, yes, you can cheat and use \ 
> so you don't have to care which code page and which interpreter, but why 
> should you have to? And what if you want to download exist REXX code from, 
> e.g., z/OS, zVM?




--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Friday, May 28, 2021 7:50 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

(This thread would better go on ISPF-L.)
On Fri, 28 May 2021 13:27:23 -0400, David Spiegel wrote:
>
>I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
>Expression.
>...
>I turned HEX ON so that my square brackets can be displayed. (I used
>x'AD' and x'BD').
>
This sucks!  Metacharacters in macros are interpreted according to the
CCSID of the attached terminal; 1047 if in background.

It implies that the author of a macro must publish a variant for each
supported terminal type and thee user must adjust SYSEXEC for the
terminal in use.

Does any IBM representative care to defend this design?

Better there should be a PRAGMA CCSID command to specify the
interpretation of metacharacters.

Better still, the macro should be loaded from zFS tagged with CCSID.

Even 1208.

I hate EBCDIC!

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Tom Brennan
Nice!  I like the SYMSET character map too.  For me, hex is no problem - 
I still have a couple of Casio CM-100 calculators from the 1980's, which 
are far above any others I used in ease of use.

http://edspi31415.blogspot.com/2017/02/retro-review-casio-cm-100-computer-math.html

On 5/29/2021 6:56 AM, Greg Price wrote:

On 5/28/2021 10:10 PM, Tom Brennan wrote:
I see my current code page 1047 showing up as 0417 hex - highlighted 
at the bottom of this image:

http://www.mildredbrennan.com/mvs/termtest.png


Right...
Well done to spot it there!
SYMSET0 should break that out (still in hex sorry to say) on the second 
screen line so it's a bit clearer to see.
I get CGCSGID=02B9-0417 for SYMSET0 and CGCSGID=03C3-0136 for SYMSET1 
which is the APL or graphic character set.

Greg

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Greg Price

On 5/28/2021 10:10 PM, Tom Brennan wrote:
I see my current code page 1047 showing up as 0417 hex - highlighted at 
the bottom of this image:

http://www.mildredbrennan.com/mvs/termtest.png


Right...
Well done to spot it there!
SYMSET0 should break that out (still in hex sorry to say) on the second 
screen line so it's a bit clearer to see.
I get CGCSGID=02B9-0417 for SYMSET0 and CGCSGID=03C3-0136 for SYMSET1 
which is the APL or graphic character set.

Greg

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Tom Brennan

Hi Greg,

That's probably what I'm thinking of, or maybe in the back of my mind it 
was something under ISPF written by Doug Nadel.  I forgot!


But I just tried your program and I see my current code page 1047 
showing up as 0417 hex - highlighted at the bottom of this image:

http://www.mildredbrennan.com/mvs/termtest.png

Tom

On 5/28/2021 9:12 PM, Greg Price wrote:


Tom,
Might that have been TERMTEST from CBT file 134/135 ?
Cheers,
Greg



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Greg Price

On 29/05/2021 7:30 am, Tom Brennan wrote:
But years ago I remember a bit of free code that displayed many more 
terminal characteristics.  I'm not talking ISPF terminal types (I'd 
recommend using type 3 with PCOMM, some others tell ISPF to sends 
graphic characters to the screen).  I'm talking about things like screen 
x/y size, color options, whether it can do underlining, character sets, etc.


Tom,
Might that have been TERMTEST from CBT file 134/135 ?
Cheers,
Greg

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Paul Gilmartin
(This thread would better go on ISPF-L.)
On Fri, 28 May 2021 13:27:23 -0400, David Spiegel wrote:
>
>I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
>Expression.
>...
>I turned HEX ON so that my square brackets can be displayed. (I used
>x'AD' and x'BD').
>
This sucks!  Metacharacters in macros are interpreted according to the
CCSID of the attached terminal; 1047 if in background.

It implies that the author of a macro must publish a variant for each
supported terminal type and thee user must adjust SYSEXEC for the
terminal in use.

Does any IBM representative care to defend this design? 

Better there should be a PRAGMA CCSID command to specify the
interpretation of metacharacters.

Better still, the macro should be loaded from zFS tagged with CCSID.

Even 1208.

I hate EBCDIC!

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Seymour J Metz
In addition to what you can get from TSO and ISPF, you can use TPG to write a  
WSF datastream. Read Partition - Query will give you the basics. Of course, 
that's overkill if all you want is the screen geometry.



-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of Tom 
Brennan 
Sent: Friday, May 28, 2021 5:30 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

There is a variable.  I found this old panel of mine:

** * Top of Data *
01 )BODY
02 %CCSID is 
03 )END
**  Bottom of Data ***

But years ago I remember a bit of free code that displayed many more
terminal characteristics.  I'm not talking ISPF terminal types (I'd
recommend using type 3 with PCOMM, some others tell ISPF to sends
graphic characters to the screen).  I'm talking about things like screen
x/y size, color options, whether it can do underlining, character sets,
etc.

Somebody wrote such a thing and I just forgot who/where/what.  And that
code may have worked outside of ISPF, since any program doing TPUT/TGET
can ask the terminal for its characteristics and dump them out to the
screen or whatever.

On 5/28/2021 11:57 AM, Seymour J Metz wrote:
> There's probably a dialog variable for it, but I don't recall. Meanwhile, 
> what happens with teminal type 4 and 6?
>
> If you manually start ISPF from the READY prompt, you can specify a codepage 
> on ISPSTART.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> David Spiegel [dspiegel...@hotmail.com]
> Sent: Friday, May 28, 2021 2:01 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: ISPF Edit Macro Regular Expression
>
> Hi R'Shmuel AMV"SH,
> I am using PCOMM.
> How do I display the Code Page?
>
> ISPF Option 0:
> Log/List  Function keys  Colors  Environ Workstation  Identifier  Help
> ss
>   ISPF Settings
> Command ===>
>
> Options   Print Graphics
> Enter "/" to select optionFamily printer type 2
>Command line at bottom Device name . . . .
> /  Panel display CUA mode Aspect ratio  . . . 0
> /  Long message in pop-up
> /  Tab to action bar choices
>Tab to point-and-shoot fields General
> /  Restore TEST/TRACE options Input field pad . . B
>Session Manager mode   Command delimiter . ;
> /  Jump from leader dots
>Edit PRINTDS Command
> /  Always show split line
>Enable EURO sign
>
> Member list options
> Enter "/" to select option
> /  Scroll member list
>Allow empty member list
>Allow empty member list (nomatch)
> /  Empty member list for edit only
>
> Terminal Characteristics
> Screen format   3  1. Data2. Std 3. Max 4. Part
>
> Terminal Type   31. 3277   2. 3277A  3. 3278 4. 3278A
>  5. 3290A  6. 3278T  7. 3278CF 8. 3277KN
>  9. 3278KN10. 3278AR11. 3278CY 12. 3278HN
> 13. 3278HO14. 3278IS15. 3278L2 16. BE163
> 17. BE190 18. 3278TH19. 3278CU 20. DEU78
> 21. DEU78A22. DEU78T23. DEU90A 24. SW116
> 25. SW131 26. SW500 27. 3278GR 28. 3278L1
> 29. OTHER
>
>
> Regards,
> David
>
> On 2021-05-28 13:49, Seymour J Metz wrote:
>> What code pages are you using and what does ISPF show under option 0?
>>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSZJDU_6.2.0%2Fcom.ibm.itnetviewforzos.doc_6.2%2Fdqd_custocbe_codepage.htmdata=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=XMqut0VkUqEx3ZZ%2BZv0x6JhS66IclZN1N7uwhaLo928%3Dreserved=0
>> "In codepage 037, the left bracket character [ is X'BA', the right bracket 
>> character ] is X'BB'. However, in code pages 1047 and 939, the left bracket 
>> character [ is X'AD', the right bracket character ] is X'BD'."
>>
>>
>>
>> --
>> Shmuel (Seymour J.) Metz
>> https://na01.safelinks.protection.outlook.com/?url=ht

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Tom Brennan

There is a variable.  I found this old panel of mine:

** * Top of Data *
01 )BODY
02 %CCSID is 
03 )END
**  Bottom of Data ***

But years ago I remember a bit of free code that displayed many more 
terminal characteristics.  I'm not talking ISPF terminal types (I'd 
recommend using type 3 with PCOMM, some others tell ISPF to sends 
graphic characters to the screen).  I'm talking about things like screen 
x/y size, color options, whether it can do underlining, character sets, 
etc.


Somebody wrote such a thing and I just forgot who/where/what.  And that 
code may have worked outside of ISPF, since any program doing TPUT/TGET 
can ask the terminal for its characteristics and dump them out to the 
screen or whatever.


On 5/28/2021 11:57 AM, Seymour J Metz wrote:

There's probably a dialog variable for it, but I don't recall. Meanwhile, what 
happens with teminal type 4 and 6?

If you manually start ISPF from the READY prompt, you can specify a codepage on 
ISPSTART.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 2:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

Hi R'Shmuel AMV"SH,
I am using PCOMM.
How do I display the Code Page?

ISPF Option 0:
Log/List  Function keys  Colors  Environ Workstation  Identifier  Help
ss
  ISPF Settings
Command ===>

Options   Print Graphics
Enter "/" to select optionFamily printer type 2
   Command line at bottom Device name . . . .
/  Panel display CUA mode Aspect ratio  . . . 0
/  Long message in pop-up
/  Tab to action bar choices
   Tab to point-and-shoot fields General
/  Restore TEST/TRACE options Input field pad . . B
   Session Manager mode   Command delimiter . ;
/  Jump from leader dots
   Edit PRINTDS Command
/  Always show split line
   Enable EURO sign

Member list options
Enter "/" to select option
/  Scroll member list
   Allow empty member list
   Allow empty member list (nomatch)
/  Empty member list for edit only

Terminal Characteristics
Screen format   3  1. Data2. Std 3. Max 4. Part

Terminal Type   31. 3277   2. 3277A  3. 3278 4. 3278A
 5. 3290A  6. 3278T  7. 3278CF 8. 3277KN
 9. 3278KN10. 3278AR11. 3278CY 12. 3278HN
13. 3278HO14. 3278IS15. 3278L2 16. BE163
17. BE190 18. 3278TH19. 3278CU 20. DEU78
21. DEU78A22. DEU78T23. DEU90A 24. SW116
25. SW131 26. SW500 27. 3278GR 28. 3278L1
29. OTHER


Regards,
David

On 2021-05-28 13:49, Seymour J Metz wrote:

What code pages are you using and what does ISPF show under option 0?

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSZJDU_6.2.0%2Fcom.ibm.itnetviewforzos.doc_6.2%2Fdqd_custocbe_codepage.htmdata=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=XMqut0VkUqEx3ZZ%2BZv0x6JhS66IclZN1N7uwhaLo928%3Dreserved=0
"In codepage 037, the left bracket character [ is X'BA', the right bracket character 
] is X'BB'. However, in code pages 1047 and 939, the left bracket character [ is X'AD', 
the right bracket character ] is X'BD'."



--
Shmuel (Seymour J.) Metz
https://na01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3data=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=3qlObBaE0LnaMhGs57%2BI3aqdvUv5Qdo0SkdZIXw8qtI%3Dreserved=0


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 1:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ISPF Edit Macro Regular Expression

Hi,
I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
Expression.
I'm getting a ISRE997 on this line:
"ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3
7CEDCCCE4CCDC4D7ACD775B774F444
F92954930695409DD12345678912345678923456789CBBDDF03000

I turned HEX ON so that my square brackets can be 

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel

4 and 6 look weird.

On 2021-05-28 14:57, Seymour J Metz wrote:

There's probably a dialog variable for it, but I don't recall. Meanwhile, what 
happens with teminal type 4 and 6?

If you manually start ISPF from the READY prompt, you can specify a codepage on 
ISPSTART.


--
Shmuel (Seymour J.) Metz
https://na01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3data=04%7C01%7C%7C2425f20fbce34c88a69b08d9220a7b7e%7C84df9e7fe9f640afb435%7C1%7C0%7C637578250693252217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=o%2FHWj%2BqGcjkPjDJ9SDk6qnlIW5B4jO5ojPHXZbUE8V4%3Dreserved=0


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 2:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

Hi R'Shmuel AMV"SH,
I am using PCOMM.
How do I display the Code Page?

ISPF Option 0:
Log/List  Function keys  Colors  Environ Workstation  Identifier  Help
ss
  ISPF Settings
Command ===>

Options   Print Graphics
Enter "/" to select optionFamily printer type 2
   Command line at bottom Device name . . . .
/  Panel display CUA mode Aspect ratio  . . . 0
/  Long message in pop-up
/  Tab to action bar choices
   Tab to point-and-shoot fields General
/  Restore TEST/TRACE options Input field pad . . B
   Session Manager mode   Command delimiter . ;
/  Jump from leader dots
   Edit PRINTDS Command
/  Always show split line
   Enable EURO sign

Member list options
Enter "/" to select option
/  Scroll member list
   Allow empty member list
   Allow empty member list (nomatch)
/  Empty member list for edit only

Terminal Characteristics
Screen format   3  1. Data2. Std 3. Max 4. Part

Terminal Type   31. 3277   2. 3277A  3. 3278 4. 3278A
 5. 3290A  6. 3278T  7. 3278CF 8. 3277KN
 9. 3278KN10. 3278AR11. 3278CY 12. 3278HN
13. 3278HO14. 3278IS15. 3278L2 16. BE163
17. BE190 18. 3278TH19. 3278CU 20. DEU78
21. DEU78A22. DEU78T23. DEU90A 24. SW116
25. SW131 26. SW500 27. 3278GR 28. 3278L1
29. OTHER


Regards,
David

On 2021-05-28 13:49, Seymour J Metz wrote:

What code pages are you using and what does ISPF show under option 0?

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSZJDU_6.2.0%2Fcom.ibm.itnetviewforzos.doc_6.2%2Fdqd_custocbe_codepage.htmdata=04%7C01%7C%7C2425f20fbce34c88a69b08d9220a7b7e%7C84df9e7fe9f640afb435%7C1%7C0%7C637578250693252217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=nF5yi9%2FkJHnG68RRv4eyYtoxp4Kl902gjnZqt726L4s%3Dreserved=0
"In codepage 037, the left bracket character [ is X'BA', the right bracket character 
] is X'BB'. However, in code pages 1047 and 939, the left bracket character [ is X'AD', 
the right bracket character ] is X'BD'."



--
Shmuel (Seymour J.) Metz
https://na01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3data=04%7C01%7C%7C2425f20fbce34c88a69b08d9220a7b7e%7C84df9e7fe9f640afb435%7C1%7C0%7C637578250693252217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=o%2FHWj%2BqGcjkPjDJ9SDk6qnlIW5B4jO5ojPHXZbUE8V4%3Dreserved=0


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 1:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ISPF Edit Macro Regular Expression

Hi,
I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
Expression.
I'm getting a ISRE997 on this line:
"ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3
7CEDCCCE4CCDC4D7ACD775B774F444
F92954930695409DD12345678912345678923456789CBBDDF03000

I turned HEX ON so that my square brackets can be displayed. (I used
x'AD' and x'BD').
I am trying to find the next JCL Statement with a valid label (i.e. an
Alphabetic or National Character in Column 3).
Ideally I would like to start my search at  column 1 and FIND //
followed Alphabetic/National in Column 3),

Please help.

Thanks and regards,
David

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lis

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Seymour J Metz
There's probably a dialog variable for it, but I don't recall. Meanwhile, what 
happens with teminal type 4 and 6?

If you manually start ISPF from the READY prompt, you can specify a codepage on 
ISPSTART.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 2:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit Macro Regular Expression

Hi R'Shmuel AMV"SH,
I am using PCOMM.
How do I display the Code Page?

ISPF Option 0:
   Log/List  Function keys  Colors  Environ Workstation  Identifier  Help
ss
 ISPF Settings
Command ===>

Options   Print Graphics
   Enter "/" to select optionFamily printer type 2
  Command line at bottom Device name . . . .
   /  Panel display CUA mode Aspect ratio  . . . 0
   /  Long message in pop-up
   /  Tab to action bar choices
  Tab to point-and-shoot fields General
   /  Restore TEST/TRACE options Input field pad . . B
  Session Manager mode   Command delimiter . ;
   /  Jump from leader dots
  Edit PRINTDS Command
   /  Always show split line
  Enable EURO sign

Member list options
   Enter "/" to select option
   /  Scroll member list
  Allow empty member list
  Allow empty member list (nomatch)
   /  Empty member list for edit only

Terminal Characteristics
   Screen format   3  1. Data2. Std 3. Max 4. Part

   Terminal Type   31. 3277   2. 3277A  3. 3278 4. 3278A
5. 3290A  6. 3278T  7. 3278CF 8. 3277KN
9. 3278KN10. 3278AR11. 3278CY 12. 3278HN
   13. 3278HO14. 3278IS15. 3278L2 16. BE163
   17. BE190 18. 3278TH19. 3278CU 20. DEU78
   21. DEU78A22. DEU78T23. DEU90A 24. SW116
   25. SW131 26. SW500 27. 3278GR 28. 3278L1
   29. OTHER


Regards,
David

On 2021-05-28 13:49, Seymour J Metz wrote:
> What code pages are you using and what does ISPF show under option 0?
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSZJDU_6.2.0%2Fcom.ibm.itnetviewforzos.doc_6.2%2Fdqd_custocbe_codepage.htmdata=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=XMqut0VkUqEx3ZZ%2BZv0x6JhS66IclZN1N7uwhaLo928%3Dreserved=0
> "In codepage 037, the left bracket character [ is X'BA', the right bracket 
> character ] is X'BB'. However, in code pages 1047 and 939, the left bracket 
> character [ is X'AD', the right bracket character ] is X'BD'."
>
>
>
> --
> Shmuel (Seymour J.) Metz
> https://na01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3data=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=3qlObBaE0LnaMhGs57%2BI3aqdvUv5Qdo0SkdZIXw8qtI%3Dreserved=0
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> David Spiegel [dspiegel...@hotmail.com]
> Sent: Friday, May 28, 2021 1:27 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: ISPF Edit Macro Regular Expression
>
> Hi,
> I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
> Expression.
> I'm getting a ISRE997 on this line:
> "ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3
> 7CEDCCCE4CCDC4D7ACD775B774F444
> F92954930695409DD12345678912345678923456789CBBDDF03000
>
> I turned HEX ON so that my square brackets can be displayed. (I used
> x'AD' and x'BD').
> I am trying to find the next JCL Statement with a valid label (i.e. an
> Alphabetic or National Character in Column 3).
> Ideally I would like to start my search at  column 1 and FIND //
> followed Alphabetic/National in Column 3),
>
> Please help.
>
> Thanks and regards,
> David
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send em

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel

Hi R'Shmuel AMV"SH.
I changed the brackets to x'BA' and x'BB'.
Now, it works.
Thank you!

I still would like to know how to display which codepage I am using.
Any ideas?

Thanks and regards,
David

On 2021-05-28 13:49, Seymour J Metz wrote:

What code pages are you using and what does ISPF show under option 0?

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSZJDU_6.2.0%2Fcom.ibm.itnetviewforzos.doc_6.2%2Fdqd_custocbe_codepage.htmdata=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=XMqut0VkUqEx3ZZ%2BZv0x6JhS66IclZN1N7uwhaLo928%3Dreserved=0
"In codepage 037, the left bracket character [ is X'BA', the right bracket character 
] is X'BB'. However, in code pages 1047 and 939, the left bracket character [ is X'AD', 
the right bracket character ] is X'BD'."



--
Shmuel (Seymour J.) Metz
https://na01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3data=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=3qlObBaE0LnaMhGs57%2BI3aqdvUv5Qdo0SkdZIXw8qtI%3Dreserved=0


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 1:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ISPF Edit Macro Regular Expression

Hi,
I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
Expression.
I'm getting a ISRE997 on this line:
"ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3
7CEDCCCE4CCDC4D7ACD775B774F444
F92954930695409DD12345678912345678923456789CBBDDF03000

I turned HEX ON so that my square brackets can be displayed. (I used
x'AD' and x'BD').
I am trying to find the next JCL Statement with a valid label (i.e. an
Alphabetic or National Character in Column 3).
Ideally I would like to start my search at  column 1 and FIND //
followed Alphabetic/National in Column 3),

Please help.

Thanks and regards,
David

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel

Hi R'Shmuel AMV"SH,
I am using PCOMM.
How do I display the Code Page?

ISPF Option 0:
  Log/List  Function keys  Colors  Environ Workstation  Identifier  Help
ss
    ISPF Settings
Command ===>

Options   Print Graphics
  Enter "/" to select option    Family printer type 2
 Command line at bottom Device name . . . .
  /  Panel display CUA mode Aspect ratio  . . . 0
  /  Long message in pop-up
  /  Tab to action bar choices
 Tab to point-and-shoot fields General
  /  Restore TEST/TRACE options Input field pad . . B
 Session Manager mode   Command delimiter . ;
  /  Jump from leader dots
 Edit PRINTDS Command
  /  Always show split line
 Enable EURO sign

Member list options
  Enter "/" to select option
  /  Scroll member list
 Allow empty member list
 Allow empty member list (nomatch)
  /  Empty member list for edit only

Terminal Characteristics
  Screen format   3  1. Data    2. Std 3. Max 4. Part

  Terminal Type   3    1. 3277   2. 3277A  3. 3278 4. 3278A
   5. 3290A  6. 3278T  7. 3278CF 8. 3277KN
   9. 3278KN    10. 3278AR    11. 3278CY 12. 3278HN
  13. 3278HO    14. 3278IS    15. 3278L2 16. BE163
  17. BE190 18. 3278TH    19. 3278CU 20. DEU78
  21. DEU78A    22. DEU78T    23. DEU90A 24. SW116
  25. SW131 26. SW500 27. 3278GR 28. 3278L1
  29. OTHER


Regards,
David

On 2021-05-28 13:49, Seymour J Metz wrote:

What code pages are you using and what does ISPF show under option 0?

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSZJDU_6.2.0%2Fcom.ibm.itnetviewforzos.doc_6.2%2Fdqd_custocbe_codepage.htmdata=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=XMqut0VkUqEx3ZZ%2BZv0x6JhS66IclZN1N7uwhaLo928%3Dreserved=0
"In codepage 037, the left bracket character [ is X'BA', the right bracket character 
] is X'BB'. However, in code pages 1047 and 939, the left bracket character [ is X'AD', 
the right bracket character ] is X'BD'."



--
Shmuel (Seymour J.) Metz
https://na01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3data=04%7C01%7C%7C2e49d42adc9d43b5f8de08d922010990%7C84df9e7fe9f640afb435%7C1%7C0%7C637578210126552575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=3qlObBaE0LnaMhGs57%2BI3aqdvUv5Qdo0SkdZIXw8qtI%3Dreserved=0


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 1:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ISPF Edit Macro Regular Expression

Hi,
I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
Expression.
I'm getting a ISRE997 on this line:
"ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3
7CEDCCCE4CCDC4D7ACD775B774F444
F92954930695409DD12345678912345678923456789CBBDDF03000

I turned HEX ON so that my square brackets can be displayed. (I used
x'AD' and x'BD').
I am trying to find the next JCL Statement with a valid label (i.e. an
Alphabetic or National Character in Column 3).
Ideally I would like to start my search at  column 1 and FIND //
followed Alphabetic/National in Column 3),

Please help.

Thanks and regards,
David

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Seymour J Metz
What code pages are you using and what does ISPF show under option 0?

https://www.ibm.com/support/knowledgecenter/en/SSZJDU_6.2.0/com.ibm.itnetviewforzos.doc_6.2/dqd_custocbe_codepage.htm
"In codepage 037, the left bracket character [ is X'BA', the right bracket 
character ] is X'BB'. However, in code pages 1047 and 939, the left bracket 
character [ is X'AD', the right bracket character ] is X'BD'."



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Spiegel [dspiegel...@hotmail.com]
Sent: Friday, May 28, 2021 1:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: ISPF Edit Macro Regular Expression

Hi,
I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular
Expression.
I'm getting a ISRE997 on this line:
"ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3
7CEDCCCE4CCDC4D7ACD775B774F444
F92954930695409DD12345678912345678923456789CBBDDF03000

I turned HEX ON so that my square brackets can be displayed. (I used
x'AD' and x'BD').
I am trying to find the next JCL Statement with a valid label (i.e. an
Alphabetic or National Character in Column 3).
Ideally I would like to start my search at  column 1 and FIND //
followed Alphabetic/National in Column 3),

Please help.

Thanks and regards,
David

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel

Hi,
I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular 
Expression.

I'm getting a ISRE997 on this line:
"ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3
7CEDCCCE4CCDC4D7ACD775B774F444
F92954930695409DD12345678912345678923456789CBBDDF03000

I turned HEX ON so that my square brackets can be displayed. (I used 
x'AD' and x'BD').
I am trying to find the next JCL Statement with a valid label (i.e. an 
Alphabetic or National Character in Column 3).
Ideally I would like to start my search at  column 1 and FIND // 
followed Alphabetic/National in Column 3),


Please help.

Thanks and regards,
David

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN