Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
> The Standard permits the stem.0 convention, therefore implicitly> requiring > its support. Even without that it explicitly allows the use of numeric tails. > Regrettably, too many journeyman Rexx programmers misbelieve > that it's the *only* permitted use of compounds. ObSchiller Say it

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
Sorry. I would expect the two to be different, but it is documented that they are the same. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
The MAKEARRAY method of a stem variable will return whatver subscripts you used. If you're using the stem.0 convention then those will be numeric, but A.['bbb']=1 A.['BBB']=2 do i over A.~MAKEARRAY say i end will give alphabetic output. However, OOREXX also has, e.g.,

Re: Learning the basics of SMP/E

2021-02-02 Thread Seymour J Metz
Use the one with the most recent date and a simialr title. Possibly also redbooks. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
OOREXX has a use arg instruction foo['bar'] isn't a symbol, it's a method invocation equivalent to foo~[]=('bar') or foo~[]('bar'), depending on whether it is on the LHS or the RHS For methods you would use ::EXPOSE and directories (sort of symbol tables) to control visibility.. -- Shmuel

Re: Learning the basics of SMP/E

2021-02-02 Thread Paul Gilmartin
On Wed, 3 Feb 2021 04:33:34 +, Seymour J Metz wrote: >SMP/E PROGRAM PACKAGING GUIDE > A quick Google search finds several rotted-out links that may have been valid in 1992. Looking further: publibz.boulder.ibm.com/epubs/pdf/gimpkg80.pdf Software Delivery IBM Standard Packaging

Re: Learning the basics of SMP/E

2021-02-02 Thread Seymour J Metz
SMP/E PROGRAM PACKAGING GUIDE -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Brian Chapman [bchapma...@gmail.com] Sent: Tuesday, February 2, 2021 10:44 PM To:

Re: Learning the basics of SMP/E

2021-02-02 Thread Peter Bishop
Hi Brian, check out this doc, mentioned on the ++FUNCTION definition in the current SMP/E reference. http://publibz.boulder.ibm.com/epubs/pdf/gimpkg80.pdf Standard Packaging Rules for z/OS-based Products cheers, Peter On 3/02/2021

Re: Learning the basics of SMP/E

2021-02-02 Thread Brian Chapman
Sam, Thanks. Like you, I had to bumble my way through learning SMP/e. I had a few fellow sys progs to lean on, but most of my knowledge was self taught with lots of trial and error. I will definitely give this a read. Something that I have not seen documented is how to create my own SMP/e

Re: X3270 or c3270 on mac

2021-02-02 Thread David Crayford
On 2/02/2021 8:23 pm, René Jansen wrote: ZOC is fine for Mac, as it is for PC. Exists for many years and is Rexx scriptable. Does all I need, like moving the enter key to where it belongs, and cuts and pasts JCL without interrupting your workflow. Ticks all the boxes. EmTec need to invest in

Re: RES: OSA Express 7S 1000 base T as console

2021-02-02 Thread Ken Bloom
There are external solutions that provide greater flexibility and security. OSA is limited to a single listening port for all access. There are solutions that allow your users to access via a single IP address but multiple ports that can be dedicated to specific LPAR’s. Additionally, the

Re: RES: OSA Express 7S 1000 base T as console

2021-02-02 Thread Pew, Curtis G
On Feb 2, 2021, at 4:58 PM, Gilson Cesar de Oliveira wrote: > > My concern is related to isolate consoles for different lpars. All > the console clients that will connect to 192.168.10.100 should not connect > to 10.152.200.100 and vice-versa. > > Are you saying that I can define

Re: Rexx stem variable question

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 23:30:52 +, Seymour J Metz wrote: >Read it again. What I would naively expect is *NOT* how it works. The fact >that value() does the same processing on it's first argument as what would be >done if the value were substituted in the source code is wildly unexpected

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
Read it again. What I would naively expect is *NOT* how it works. The fact that value() does the same processing on it's first argument as what would be done if the value were substituted in the source code is wildly unexpected behavior, although well documented. foo=.stem~new

Re: zero-length PC section, the binder, and resulting AMODE/RMODE

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 17:01:20 -0500, Thomas David Rivers wrote: >>... >Someone kindly pointed out this documentation from the HLASM Language >Reference about how/when these unnamed/empty PC sections get created: >... > An unnamed control section is sometimes referred to as private code. >

Re: RES: OSA Express 7S 1000 base T as console

2021-02-02 Thread Tony Thigpen
Gilson, You need to look at GROUP to isolate LPARs, not ip ranges. For example, I have one Z with 10 LPARS. Every LPAR uses CUU addresses in the range 080-09F. Every LPAR uses the same IP address for the consoles. Every LPAR has either one or two unique GROUPS. For example: GROUP NAMES:

RES: OSA Express 7S 1000 base T as console

2021-02-02 Thread Gilson Cesar de Oliveira
Dear Curtis: My concern is related to isolate consoles for different lpars. All the console clients that will connect to 192.168.10.100 should not connect to 10.152.200.100 and vice-versa. Are you saying that I can define the ports in different subnets but the default gateway

Re: zero-length PC section, the binder, and resulting AMODE/RMODE

2021-02-02 Thread Thomas David Rivers
Thomas David Rivers wrote: I could find nothing in the "Program Management: Advanced Facilities" doc that indicated an AMODE flag value of B'00' is any different/special verses B'01' (it is surprising that there are 2 AMODE 24 options there.) Someone kindly pointed out this documentation

Re: Rexx stem variable question

2021-02-02 Thread Jeremy Nicoll
On Tue, 2 Feb 2021, at 16:55, Paul Gilmartin wrote: > Does OOREXX require preallocation of compounds with a "new" method? No. If you write "classic rexx" without using any of the OO stuff, (or using only a subset of it) you can choose just to have eg: tax.3 = 20 without anything prior

Re: Rexx stem variable question

2021-02-02 Thread Charles Mills
Full Rexx stem enumeration would *have* to include both numeric and non-numeric tails and would have to account for all kinds of gaps: A.1 = "Foo" A.17 = "Bar" A.Notary = "Sojack" Numeric-only, gap-less enumeration is easy to do on your own Do i = 1 to A.0 Say A.i End i Charles

Re: Rexx stem variable question

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 19:16:52 +, Seymour J Metz wrote: >The behavior of value() is confusing in that it violates the law of least >astonishment; naively I would expect value('AAA.bbb') and value('AAA.BBB'), ... > Those arguments name the same compound symbol, therefore the results are

Re: OSA Express 7S 1000 base T as console

2021-02-02 Thread Pew, Curtis G
On Feb 2, 2021, at 12:32 PM, Gilson Cesar de Oliveira wrote: > > For instance I have an OSA where in port 0 I will define it for > network 192.168.10.100/16 > And for port 1 I will define it for network 10.152.200.100/16. > I've heard something that we can use it but in the

Re: Rexx stem variable question

2021-02-02 Thread Charles Mills
> naively I would expect value('AAA.bbb') and value('AAA.BBB'), > but that is neither how it is documented nor how it works. Is a word missing in there? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent:

Re: Rexx stem variable question

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 18:54:42 +, Seymour J Metz wrote: >The ANSI standard for REXX describes the use of the stem.0 convention, e.g., >in conjunction with ADDRESS ... WITH. > The Standard permits the stem.0 convention, therefore implicitly requiring its support. Regrettably, too many

Re: X3270 or c3270 on mac

2021-02-02 Thread Seymour J Metz
Does it support explicit partitions? How much does it cost? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Immo [i...@mikno.de] Sent: Tuesday, February 2, 2021 7:15 PM

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
The behavior of value() is confusing in that it violates the law of least astonishment; naively I would expect value('AAA.bbb') and value('AAA.BBB'), but that is neither how it is documented nor how it works. In OOREXX a trailing period is enough to designate a stem. However, if you want a

AW: X3270 or c3270 on mac

2021-02-02 Thread Immo
Give JProtector from XPS a try. It's Java. Doesn't matter if you'll run it on Linux, Mac or Windows. Regards, Michael -Ursprüngliche Nachricht- Von: IBM Mainframe Discussion List Im Auftrag von Seymour J Metz Gesendet: Dienstag, 2. Februar 2021 10:19 An: IBM-MAIN@LISTSERV.UA.EDU

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
The ANSI standard for REXX describes the use of the stem.0 convention, e.g., in conjunction with ADDRESS ... WITH. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of

Re: OSA Express 7S 1000 base T as console

2021-02-02 Thread Radoslaw Skorupka
W dniu 02.02.2021 o 19:32, Gilson Cesar de Oliveira pisze: Dear colleagues: I'd like to know if is it possible to use OSA Express 1000 Base T with the two ports (0 and 1) for console but in different sub-networks ? For instance I have an OSA where in port 0 I will define it for

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
The stem.0 convention is also used with OOREXX. There's nothing nonstandard about using that convention. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin

OSA Express 7S 1000 base T as console

2021-02-02 Thread Gilson Cesar de Oliveira
Dear colleagues: I'd like to know if is it possible to use OSA Express 1000 Base T with the two ports (0 and 1) for console but in different sub-networks ? For instance I have an OSA where in port 0 I will define it for network 192.168.10.100/16 And for port 1 I will

Re: Rexx stem variable question

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 10:05:35 -0800, Charles Mills wrote: >Of course, technically that is not a Rexx language issue. I am looking at >Cowlishaw "The Rexx Language" and "EXECIO" does not appear in the index. > It's conventional, but peculiar to the IBM world: CMS, z/OS, (OS/2?), ...? uni-REXX,

Re: How do I delete one JES2 $TA command?

2021-02-02 Thread Charles Mills
Marvelous. Thank you. Actually $CAid with no comma. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Carmen Vitullo Sent: Tuesday, February 2, 2021 9:43 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How do I delete one JES2

Re: Rexx stem variable question

2021-02-02 Thread Charles Mills
Of course, technically that is not a Rexx language issue. I am looking at Cowlishaw "The Rexx Language" and "EXECIO" does not appear in the index. I could write a Rexx command processor any way that I wanted. I could have it take a Rexx variable name and prepend stems onto it and return its

Re: Rexx stem variable question

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 09:12:07 -0800, Charles Mills wrote: >... >/* rexx test */ >x = 'VX' /* Value of X */ >y = 'VY' /* value of Y */ >A.x.y = 'Foo' /* Presumably A.VX.VY is set to "Foo" */ >Combo = 'VX.VY' >Say A.Combo /* Says "Foo": does not matter how you get to A.VX.VY! */ > And

Re: How do I delete one JES2 $TA command?

2021-02-02 Thread Carmen Vitullo
  $CA,ALL to delete all $CA,ID to delete specific commands $TA,all to show the ID's Carmen   -Original Message- From: Charles To: IBM-MAIN Date: Tuesday, 2 February 2021 11:37 AM CST Subject: How do I delete one JES2 $TA command? This seems like an incredibly basic

Re: How do I delete one JES2 $TA command?

2021-02-02 Thread Lizette Koehler
$TA#,cancel I think is how you do it Lizette -Original Message- From: IBM Mainframe Discussion List On Behalf Of Charles Mills Sent: Tuesday, February 2, 2021 10:37 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How do I delete one JES2 $TA command? This seems like an incredibly basic

How do I delete one JES2 $TA command?

2021-02-02 Thread Charles Mills
This seems like an incredibly basic question but I don't see the answer in JES2 commands. I have a repeating JES2 command in effect: $TAname,T=02.30,I=86400,'command' I know I can modify it by simply re-issuing the $TA with the same name. How do I delete it entirely? I tried just $TAname but

Re: Rexx stem variable question

2021-02-02 Thread Charles Mills
I have a great illustration of how Rexx tails work. Consider the following (tested on Z) example. It shows that the different pieces of the tail are not really different "things" at all. It does not matter how you get to a particular tail value. /* rexx test */

Re: Rexx stem variable question

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 14:57:28 +, Seymour J Metz wrote: >The confusing part is is not the way compound variables work, but the way >value() works. > The doc must be read carefully, but then is it confusing? Both TSO/E Rexx and Regina say some paraphrase of" "The argument of VALUE() is a string

Re: DE entry on Load Link XCTL and ATTACH

2021-02-02 Thread Seymour J Metz
DE is directory entry, not list. The system uses the entire entry, subject to APF. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joseph Reichman

Re: Rexx stem variable question

2021-02-02 Thread Seymour J Metz
The confusing part is is not the way compound variables work, but the way value() works. In OOREXX there is syntax for a tail that includes lower case characters, e.g., foo=.stem~new foo['bbb']=7 -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: STORAGE KEY of loaded executable

2021-02-02 Thread Seymour J Metz
Implementation is model dependent. The hardware has to preserve enough information to comply with the architecture. I know of no reason for MVS to purge the i-cache under normal circumstances. If the I-cache includes key and STO then I know of no reason not to share it. There is no need to

Re: X3270 or c3270 on mac

2021-02-02 Thread Seymour J Metz
If only there were a 3270 simulator for Linux with the functionality of a 3290, or at least enough to support SPLIT and VSPLIT in ISPF. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List

Re: STORAGE KEY of loaded executable

2021-02-02 Thread Peter Relson
I'm playing around with some tests and was switching keys, and didn't want to mess with authorized code. So I just picked the next one up to 8. There was nothing "special" in my choice of 9. Then you were playing with fire (well, program checks) and were kind of lucky. The only key that a

Re: STORAGE KEY of loaded executable

2021-02-02 Thread Paul Gilmartin
On Tue, 2 Feb 2021 05:39:36 -0800, Ed Jaffe wrote: >... >> Does it validate that the source of the cache is accessible whenever the SPKA >> is issued, i.e., does the cache have key and fetch protect bits? >> >> Any pre-executed instructions will have to be rolled back, correct? > >Results of

Re: STORAGE KEY of loaded executable

2021-02-02 Thread Ed Jaffe
On 2/2/2021 4:21 AM, Binyamin Dissen wrote: On Mon, 1 Feb 2021 13:45:45 + Seymour J Metz wrote: :>There's no reason to flush the cache, and doing so would be a major performance hit. With luck there an IBM Systems Journal article or redbook on the I-unit of current processors; if not,

Re: DE entry on Load Link XCTL and ATTACH

2021-02-02 Thread Joseph Reichman
You are right I did read the manual 62 is the minimum for entry Thanks > On Feb 2, 2021, at 7:15 AM, Binyamin Dissen > wrote: > > What other name? > > Did you even open the manual > > "When DE, specifies the address of the name field in a 62-byte list entry for > the entry name

Re: Learning the basics of SMP/E

2021-02-02 Thread IBM user
Thank you! There is no decent training or explanation of SMP/E that I could find, and the 'designated people' would not let me touch the machine, so I look forward to reading your article. - Original message - From: Sam Golob To: IBM-MAIN@LISTSERV.UA.EDU Subject: Learning the basics

Re: X3270 or c3270 on mac

2021-02-02 Thread René Jansen
ZOC is fine for Mac, as it is for PC. Exists for many years and is Rexx scriptable. Does all I need, like moving the enter key to where it belongs, and cuts and pasts JCL without interrupting your workflow. René Jansen > On 2 Feb 2021, at 11:51, David Crayford wrote: > > One of the reasons

Re: STORAGE KEY of loaded executable

2021-02-02 Thread Binyamin Dissen
On Mon, 1 Feb 2021 13:45:45 + Seymour J Metz wrote: :>There's no reason to flush the cache, and doing so would be a major performance hit. With luck there an IBM Systems Journal article or redbook on the I-unit of current processors; if not, there should be. How does the cache work?

Re: DE entry on Load Link XCTL and ATTACH

2021-02-02 Thread Binyamin Dissen
What other name? Did you even open the manual "When DE, specifies the address of the name field in a 62-byte list entry for the entry name that was constructed using the BLDL macro" On Mon, 1 Feb 2021 18:15:26 -0500 Joseph Reichman wrote: :>When you have DE entry on any of these macros I

Re: X3270 or c3270 on mac

2021-02-02 Thread David Crayford
One of the reasons I chose a PC instead of a Mac when I had the choice for a new work machine was the lack of a decent 3270 emulator. By decent I mean something that supports a custom 160*60 screen size. This is not a shameless plug for one of our products but if I were a Mac user I would