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: IBM Zcloud - is it just outsourcing ?

2021-05-29 Thread Colin Paice
I remember about 20+ years ago there was "dial a vm" from IBM for
customers.  By the time you had phoned up, given your credit card details
it had created a second level system for you to play with.

"We did it first on z"

Colin

On Sat, 29 May 2021 at 12:45, Scott Chapman 
wrote:

> I think one important distinction of cloud vs. outsourcing is the
> ephemeral nature of the resources in cloud computing. I.E. the ability to
> start from zero, provision compute and storage resources of some type
> (either manually or automatically in response to changing conditions) and
> then deprovision them similarly after using the resources for perhaps mere
> minutes or hours. The cost is determined by what you used for the duration
> you used it, typically billed to an interval of minutes or sometimes even
> seconds. And since it has on-ramp starting at zero infrastructure and zero
> cost, you can easily try out ideas at a cost of something you can put on a
> credit card. Infrastructure is charged in increments of pennies. And if it
> doesn't work out, you turn it off and your charges stop.*
>
> Last I knew, and I would like to be proven wrong, zCloud didn't embody the
> idea of "I want to play with z/OS for a few hours, stand up a z/OS image
> with x CPU and y GB of disk and put it on my credit card".
>
> *-Remember: in the cloud, you pay for what you forgot to turn off. And
> those pennies can add up shockingly fast in some cases!
>
> Scott Chapman
>
> --
> 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: IBM Zcloud - is it just outsourcing ?

2021-05-29 Thread Scott Chapman
I think one important distinction of cloud vs. outsourcing is the ephemeral 
nature of the resources in cloud computing. I.E. the ability to start from 
zero, provision compute and storage resources of some type (either manually or 
automatically in response to changing conditions) and then deprovision them 
similarly after using the resources for perhaps mere minutes or hours. The cost 
is determined by what you used for the duration you used it, typically billed 
to an interval of minutes or sometimes even seconds. And since it has on-ramp 
starting at zero infrastructure and zero cost, you can easily try out ideas at 
a cost of something you can put on a credit card. Infrastructure is charged in 
increments of pennies. And if it doesn't work out, you turn it off and your 
charges stop.*

Last I knew, and I would like to be proven wrong, zCloud didn't embody the idea 
of "I want to play with z/OS for a few hours, stand up a z/OS image with x CPU 
and y GB of disk and put it on my credit card". 

*-Remember: in the cloud, you pay for what you forgot to turn off. And those 
pennies can add up shockingly fast in some cases! 

Scott Chapman

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