Re: Java?

2022-07-01 Thread David Crayford
JZOS does. It flips a magic bit. 

> On 2 Jul 2022, at 10:52 am, Ed Jaffe  wrote:
> 
> On 7/1/2022 4:26 PM, David Crayford wrote:
>> The fact that the JNI code is offloaded to a zIIP is extra goodness.
> 
> Your JNI code runs on zIIP?
> 
> Ours does not seem to do so...
> 
> 
> -- 
> Phoenix Software International
> Edward E. Jaffe
> 831 Parkview Drive North
> El Segundo, CA 90245
> https://www.phoenixsoftware.com/
> 
> 
> 
> This e-mail message, including any attachments, appended messages and the
> information contained therein, is for the sole use of the intended
> recipient(s). If you are not an intended recipient or have otherwise
> received this email message in error, any use, dissemination, distribution,
> review, storage or copying of this e-mail message and the information
> contained therein is strictly prohibited. If you are not an intended
> recipient, please contact the sender by reply e-mail and destroy all copies
> of this email message and do not otherwise utilize or retain this email
> message or any or all of the information contained therein. Although this
> email message and any attachments or appended messages are believed to be
> free of any virus or other defect that might affect any computer system into
> which it is received and opened, it is the responsibility of the recipient
> to ensure that it is virus free and no responsibility is accepted by the
> sender for any loss or damage arising in any way from its opening or use.
> 
> --
> 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: Java?

2022-07-01 Thread Ed Jaffe

On 7/1/2022 4:26 PM, David Crayford wrote:

The fact that the JNI code is offloaded to a zIIP is extra goodness.


Your JNI code runs on zIIP?

Ours does not seem to do so...


--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/



This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

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


Re: Secure sockets (Re: Some questions on SYSCALL

2022-07-01 Thread David Crayford

Thanks Rony. I really enjoyed reading that paper.

Do you know why the tilde character was chosen as the message passing 
operator? It's quite unusual.


On 30/06/2022 6:55 pm, Rony G. Flatscher wrote:

On 30.06.2022 00:52, David Crayford wrote:

On 30/06/2022 6:37 am, Farley, Peter x23353 wrote:

Gentle listers,

Can we all agree to let this discussion be resolved by agreeing to 
the Perl mongers motto, TMTOWTD
TWTOWTD? Or maybe not. Show me how to create a secure socket in REXX 
without using PAGENT.


You may want to check out the slides in 
 
for a simple solution with ooRexx.


---rony

P.S.: The above slides were used to teach non-programmers from the 
university's administration who were interested to learn/see the 
concepts of programming. They were able to come up with homework 
excercises exploiting secure sockets on their own.


--
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: Some questions on SYSCALL

2022-07-01 Thread David Crayford

On 30/06/2022 2:58 pm, David Crayford wrote:
REXX is never the right language unless you have no choice, such as 
using an API such as SDSF or an environment such as Netview.


I'm going to take that back, which is unusual for me. I just realized 
that I have recently coded lots of REXX that uses the SDSF API. I create 
JSON which is processed in a pipe by Python code using the curses 
library so I get the goodness of SDSF without having to leave the shell. 
I also wrote a Redis command processor called RedisRexx. It's a good 
example of where REXX is a good choice and pleasant to use. Redis turbo 
charges REXX. You can use it for pub/sub models where you run pools of 
address spaces to process tasks or as a distributed data structure 
server. REXX doesn't have sorted sets, binary trees etc and Redis 
provides that and is lightening fast.





On 30/06/2022 11:21 am, Charles Mills wrote:

Charles knows C++ so I don't understand why he would pick REXX
One factor is that my deployment machine does not have a C++ compiler 
and does not share DASD with my development machine. So for C++ the 
cycle is


- Edit in IDE on Windows
- Build in IDE on Windows; get to clean compile
- Upload to development machine
- Build on z/OS (hopefully no z-specific errors; if so, iterate)
- Copy load module from development to deployment (complex load 
module FTP)

- Test
- Repeat as necessary

For Rexx OTOH the cycle is
- Edit in text editor in Windows
- Upload to deployment machine (simple ASCII text upload)
- Test
- Repeat as necessary


You need a better IDE. I recommend Intellij.


A much faster development cycle.

I built, tested and deployed the new HLASM module and the Rexx code 
in about 13 hours billable (including all the discussion here). I 
doubt that I could have done that with C++. There is more to "best 
language for the job" than elegance, conciseness, "modernness" and 
efficiency of execution.


For Python there is no way of knowing, but I think I might have spent 
that much time trying to get Python downloaded and installed. IBM 
manages to make the most simple tasks difficult. For one of the two 
machines I would have had a "business" or "legal" issue that might 
have taken 13 hours; certainly would have taken weeks elapsed. And 
that is before any "learning Python" issues. I am sure it is a 
wonderful language, but I think it is wishful thinking to say "see, 
you had some API issues with Rexx; therefore you would have been 
better off with Python." I suspect I might have had some API issues 
with my first Python program. 


Also, I get great Rexx community support right here on this forum. 
Where would I go for mainframe-specific Python community support? I'm 
sure there is some relevant forum, but how active is it? OT, but I 
have gotten pretty unhappy with Stack Overflow. Too many questions 
there now seem to draw a "not a perfect question" rebuke from some 
self-important moderator.


BTW, I do think I might want to learn Python. I bought an O'Reilly 
textbook. I have a six-hour flight coming up, and I think that it 
might be just perfect for learning Python.


Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] 
On Behalf Of David Crayford

Sent: Wednesday, June 29, 2022 3:27 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Some questions on SYSCALL

On 30/06/2022 5:52 am, Bernd Oppolzer wrote:

The only reason why your Python code is shorter is because you use
the builtin os.walk method to walk through the directory recursively.

Isn't that the point? Python has an enormous standard library to do
useful things. Also note the use of iterators (or generators). In most
languages I use you can turn a subroutine inside out
that returns a value using "yield". The advantages of this model should
be obvious. If you wanted to grab the first 10 items from a list of
100,000 you don't need to build the entire list as you would with REXX.

Going back to Charles original requirement and why I piped up. Charles
knows C++ so I don't understand why he would pick REXX for a z/OS UNIX

--
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: Java?

2022-07-01 Thread David Crayford
JZOS is the perfect example of the genius of simplicity. I can remember 
the JRIO monstrosity with all the silly OO abstractions to do something 
as simple as file I/O. JZOS ZFile was a breath of fresh air. The fact 
that the JNI code is offloaded to a zIIP is extra goodness.


On 30/06/2022 10:55 pm, Kirk Wolf wrote:

"dubbing" basically means that a TCB gets assigned a z/OS UNIX pid.If you 
run z/OS Java under a batch address space (like with the JZOS batch launcher), then 
dubbing will occur since the JVM is written in C and uses z/OS Unix services.   Actually 
in this case it would be the JZOS batch launcher program that would be dubbed since it 
uses z/OS Unix services itself prior to invoking the JVM.

Kirk Wolf
Dovetailed Technologies, LLC
http://coztoolkit.com


Note: Our website and domain name have changed from dovetail.com to 
coztoolkit.com


On Thu, Jun 30, 2022, at 8:45 AM, Paul Gilmartin wrote:

On Thu, 30 Jun 2022 10:47:59 +, Seymour J Metz wrote:


I believe that Java in z/OS requires dubbing It's also available in Linux. Off 
the mainframe, it's also available for many PC and server systems.


Why is "requires dubbing" a thing?

--
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


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


Re: Java?

2022-07-01 Thread Radoslaw Skorupka

W dniu 30.06.2022 o 19:49, Tony Harminc pisze:

On Thu, 30 Jun 2022 at 09:45, Paul Gilmartin <
042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote:


On Thu, 30 Jun 2022 10:47:59 +, Seymour J Metz wrote:


I believe that Java in z/OS requires dubbing It's also available in

Linux. Off the mainframe, it's also available for many PC and server
systems.
Why is "requires dubbing" a thing?


Because it can fail?


Really? It's not Windows "server". :-)
Seriously: it's 2022, not 90's. Nowadays we have a feature called 
BPX.UNIQUE.USER. And we don't afraid to use it.

We got rid off punched cards. (OK, it was not quite serious)

--
Radoslaw Skorupka
Lodz, Poland

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


Re: Looked at Destination Z lately?

2022-07-01 Thread Phil Smith III
As others have observed, Wayback Machine showed it as redirecting to IBM as
of a year ago March; next snapshot was in the fall and it was borked. BUT
the registration has not changed, so that makes me think it's been pwned and
nobody noticed. I reported this to IBM yesterday when Gabe found it. No
response yet.


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


Re: Looked at Destination Z lately?

2022-07-01 Thread Walt Farrell
On Fri, 1 Jul 2022 10:07:34 -0700, Tom Brennan  
wrote:

>archive.org shows it was used by IBM, but years ago.

Thanks.

Looks like it was still in use on Feb. 18, 2020, but it became a redirect to 
community.ibm.com by Aug. 1, 2020, according to the Wayback Machine.

-- 
Walt

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


Re: Looked at Destination Z lately?

2022-07-01 Thread Tom Brennan

archive.org shows it was used by IBM, but years ago.

On 7/1/2022 8:44 AM, Walt Farrell wrote:

On Fri, 1 Jul 2022 00:07:27 -0400, Gabe Goldberg  wrote:


www.destinationz.org isn't quite what one would expect for IBM's
mainframe community website.

Did someone let domain registration expire, was it hacked or redirected?


Was it ever used for that purpose? I see no Google references to that URL, and 
the only IBM-related Destination Z site seems to be:
https://community.ibm.com/community/user/ibmz-and-linuxone/groups/destinationzhome

--
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: Looked at Destination Z lately?

2022-07-01 Thread Walt Farrell
On Fri, 1 Jul 2022 00:07:27 -0400, Gabe Goldberg  wrote:

>www.destinationz.org isn't quite what one would expect for IBM's
>mainframe community website.
>
>Did someone let domain registration expire, was it hacked or redirected?

Was it ever used for that purpose? I see no Google references to that URL, and 
the only IBM-related Destination Z site seems to be:
https://community.ibm.com/community/user/ibmz-and-linuxone/groups/destinationzhome

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


Re: Own your own Z13 and Z16

2022-07-01 Thread Grant Taylor

On 7/1/22 6:20 AM, René Jansen wrote:

I want one with the Z Series instruction set.


Does using a Lenovo Z13 / Z16 to host IBM's zD&T or zPDT count?



--
Grant. . . .
unix || die

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


CustomPac (ISPF) ServerPac removal from Shopz is only 10 days away!

2022-07-01 Thread Marna WALLE
Please notice, there are only 10 days left in which to order a CustomPac (ISPF) 
ServerPac for z/OS *and* all subsystems/program products. After July 10, 2022, 
the CustomPac (ISPF) ServerPac installation method will be removed from Shopz, 
leaving only the z/OSMF ServerPac installation method.   If you are in need of 
a CustomPac ServerPac, now is the time to place your order if you haven’t 
already.  

We’ve seen a lot of traffic to the education website where you can learn about 
how to install a z/OSMF ServerPac, with a sample z/OSMF package to help you 
learn how to do the install on a small throwaway package:  
https://www.ibm.com/support/z-content-solutions/serverpac-install-zosmf/
Notice that we have full capability for merging data sets now in the z/OSMF 
ServerPac, including zFS data sets.  

I’ve been getting a lot of questions and some confusion about what is happening 
with CBPDO.  The answer is nothing.  CBPDO remains as it is, and will be 
orderable and available after July 10, 2022.If you’ve always loved CBPDO 
and wish to continue to use CBPDO, it is still there.  However, I do wish folks 
would try out the z/OSMF ServerPac (aka portable software instance) as it 
really does have some benefits that the CustomPac method did not have.  

-Marna WALLE
z/OS System Installation and Upgrade
IBM Poughkeepsie

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


Re: zVM v7.1 : Populating VMSYS: Root BFS

2022-07-01 Thread Alan Altmark
On Wed, 29 Jun 2022 11:48:39 +, Jasi Grewal  wrote:

>Hi, I just picked up zVM support after skipping for many years and 
>experiencing an odd BFS issue.   
>   - We need to populate VMSYS root and it seems that loadbfs does not perform 
> it anymore.
>   - I tried from starting with scratch SFS system: 
>   - Then using bfsroot - loadbfs bfs loadbfs and gskssldb from Maint 193 
>   
>   - It creates directories within Root but does not populates it.
>I made sure that the directories has correct owners and uid's and I remember 
>that this used to work on z/VM v5.3.
>
>Any guidance would be appreciated.Thank You in advance,

1. See "BFS Root File Space in a Non-default File Pool" in the CMS File Pool 
Planning book.  You must load the Shell and Utilities separately (SHELL 
LOADBFS).  Note carefully that you must modify a LOADBFS file if you don't want 
the default filepool(s).

2. See the TCP/IP Planning book for references to LOADBFS.   You have to load 
the SSL server, gskkyman, and LDAP server files spaces separately.  (The names 
are in the book.)

3. You can export the TCP/IP file spaces from VMSYS and import them into your 
new file server.

4. You can clone all of the disks used by VMSYS and change the name of the 
filepool, giving you the same content as VMSYS.

5. What's wrong with just using VMSYS and skip all this pain?  (SERVICE will 
not maintain the content of your own filepools, so putting IBM code in them 
isn't a great idea.)

6. The z/VM SMEs hang out in the IBMVM mailing list at 
https://listserv.uark.edu/scripts/wa-UARKEDU.exe?A0=IBMVM.   Let's continue the 
discussion there.

Alan Altmark, IBM
Senior Managing z/VM Consultant

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


AW: Own your own Z13 and Z16

2022-07-01 Thread Mike Beer
FICON and SYSPLEX support? 😉

-Ursprüngliche Nachricht-
Von: IBM Mainframe Discussion List  Im Auftrag von 
René Jansen
Gesendet: Friday, July 01, 2022 14:21
An: IBM-MAIN@LISTSERV.UA.EDU
Betreff: Re: Own your own Z13 and Z16

*that* is very funny coming from Lenovo. I want one with the Z Series 
instruction set.

René.

Sent from my iPad

> On 1 Jul 2022, at 11:04, Mike Shorkend  wrote:
> 
> This really amused me
> 
> 
> https://www.lenovo.com/au/en/thinkpadz?orgRef=https%253A%252F%252Fwww.
> google.com%252F
> 
> The latest Lenovo Thinkpad series is called 'Z SERIES'. There are two 
> models - a Z13 and a Z16.
> 
> I wonder if this is an intentional  gesture made by Lenovo to the 
> Thinkpad's heritage(IBM)?
> 
> Or just a wild coincidence?
> 
> 
> --
> Mike Shorkend
> m...@shorkend.com
> Tel: +972524208743
> 
> 
> 
> 
> 
> --
> 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: Own your own Z13 and Z16

2022-07-01 Thread René Jansen
*that* is very funny coming from Lenovo. I want one with the Z Series 
instruction set.

René.

Sent from my iPad

> On 1 Jul 2022, at 11:04, Mike Shorkend  wrote:
> 
> This really amused me
> 
> 
> https://www.lenovo.com/au/en/thinkpadz?orgRef=https%253A%252F%252Fwww.google.com%252F
> 
> The latest Lenovo Thinkpad series is called 'Z SERIES'. There are two
> models - a Z13 and a Z16.
> 
> I wonder if this is an intentional  gesture made by Lenovo to the
> Thinkpad's heritage(IBM)?
> 
> Or just a wild coincidence?
> 
> 
> -- 
> Mike Shorkend
> m...@shorkend.com
> Tel: +972524208743
> 
> 
> 
> 
> 
> --
> 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


Own your own Z13 and Z16

2022-07-01 Thread Mike Shorkend
This really amused me


https://www.lenovo.com/au/en/thinkpadz?orgRef=https%253A%252F%252Fwww.google.com%252F

The latest Lenovo Thinkpad series is called 'Z SERIES'. There are two
models - a Z13 and a Z16.

I wonder if this is an intentional  gesture made by Lenovo to the
Thinkpad's heritage(IBM)?

Or just a wild coincidence?


-- 
Mike Shorkend
m...@shorkend.com
Tel: +972524208743





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