Re: dotnet under zCX

2021-11-28 Thread Neale Ferguson
The output from those commands you list all look good for my system. It did 
start spitting out messages which don't look good:

[ 1528.473303] systemd[1]: Failed to start Apply Kernel Variables.   
[ 1649.605564] systemd[1]: Failed to start Journal Service.  
[ 1658.599686] systemd[1]: Failed to start udev Kernel Device Manager.   

(Those last two messages repeat several times.) It'd be nice to know why things 
failed.

Neale 

I am no Network person, but here are a few suggestions to try and ensure 
your network setup is ok ...

1. D TCPIP,,N,VIPADCFG (verify zCX DVIPA has bee defined - VIPARANGE)
2. D TCPIP,,N,VIPADYN (verify  DVIPA has been activated by zCX instance)
3. D TCPIP,,N,DEVL,INTFN=EZAZCX (verify that TCPIP has activated the EZAZCX 
interface)
4. F jobname, DISPLAY,NET (verify zCX network config)
5. D TCPIP,,N.HOME (verify the EZAZCX IP address and zCXDVIPA have been 
added to the Home List)

Hope the above helps

Roger

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

--

Date:Fri, 26 Nov 2021 14:23:25 +
From:Seymour J Metz 
Subject: Re: Where are PSWs and registers saved by the SUSPEND service? 
(was: Type 1 SVCs)

The devil is in the details. There is a discussion in authorized services. 
Briefly, for a type 1 SVC, you suspend the current RB, schedule an SRB or 
whatever, and ultimately exit normally. When you exit, the suspension takes 
effect.


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


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
David Cole [dbc...@colesoft.com]
Sent: Friday, November 26, 2021 7:43 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Where are PSWs and registers saved by the SUSPEND service? (was: 
Type 1 SVCs)

Thanks, Seymour, for the info about type-6s.

WRT GUPI, like most other ISVs, I use them when I can, and accept the
occasional recoding obligations when I can't.

My real question is... What happens when a type-1 SVC SUSPENDs? (Or
for that matter, when any other locked or disabled environment SUSPENDs?)

Thanks,
Dave






At 11/26/2021 03:17 AM, Seymour J Metz wrote:
>MVS used to store the registers in the TCB, but that's not GUPI, so
>even if z/OS still does there's no guaranty that a later release
>won't break it.
>Type 6 runs disabled out of the SVCFLIH and can't hold locks.
>
>>From: IBM Mainframe Discussion List  on
>>behalf of David Cole 
>>Sent: Friday, November 26, 2021 2:16 AM
>>To: IBM-MAIN@LISTSERV.UA.EDU
>>Subject: Type 1 SVCs
>>I have an ancient question... It seems to me I should know this after
>>all these decades, but... I don't.
>>While a type-1 SVC is running, where is the resume state data
>>(registers, PSW, etc.) stashed?
>>Is it the same for type-6?
>>And while I'm at it, what are the differences between type-1 and
>>type-6 SVCs, anyway>
>>Thanks,
>>David Cole
>>dbc...@gmail.com (personal)
>>dbc...@colesoft.com (business)
>>540-456-6518 (cell)
>--
>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

--

Date:Fri, 26 Nov 2021 08:37:04 -0600
From:Joe Monk 
Subject: Re: Type 1 SVCs

Try this in addition:

https://www.ibm.com/docs/en/zos/2.5.0?topic=routines-programming-conventions-svc

Joe

On Fri, Nov 26, 2021 at 6:38 AM David Cole  wrote:

> @Mike Schwab: I'm sorry Mike, but I do not see what these links have
> to do with my questions? Am I missing something?
>
> Dave
>
>
>
>
> At 11/26/2021 03:05 AM, Mike Schwab wrote:
> >
> 
https://www.ibm.com/docs/en/zos/2.3.0?topic=routines-naming-conventions-svc
> >
> >https://www.ibm.com/docs/en/zos/2.3.0?topic=routines-register-conventions
> >On Fri, Nov 26, 2021 at 7:17 AM David Cole  wrote:
> >> >
> >> > I have an ancient question... It seems to me I should know this after
> >> > all these decades, but... I don't.
> >> >
> >> > 

Re: dotnet under zCX

2021-11-26 Thread Roger Lowe
On Fri, 26 Nov 2021 06:37:02 +, Neale Ferguson  wrote:

>Thanks Roger.
>
>I wonder if you are able to help with my zCX attempt -
>
I am no Network person, but here are a few suggestions to try and ensure your 
network setup is ok ...

1. D TCPIP,,N,VIPADCFG (verify zCX DVIPA has bee defined - VIPARANGE)
2. D TCPIP,,N,VIPADYN (verify  DVIPA has been activated by zCX instance)
3. D TCPIP,,N,DEVL,INTFN=EZAZCX (verify that TCPIP has activated the EZAZCX 
interface)
4. F jobname, DISPLAY,NET (verify zCX network config)
5. D TCPIP,,N.HOME (verify the EZAZCX IP address and zCXDVIPA have been added 
to the Home List)

Hope the above helps

Roger

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


Re: dotnet under zCX

2021-11-25 Thread Neale Ferguson
Thanks Roger.

I wonder if you are able to help with my zCX attempt -

I'm trying to get zCX up and running on our zPDT and have gone through the 
workflow and the system started but I am unable to connect to the address it is 
using (it successfully bound to the VIPA address 10.1.1.5). Here's the last 
entries in the job log:

System version 18.   
BL2 version 2.4.7 ('34533b66' ) start (Fri Nov 26 01:38:27 UTC 2021) 
Booting appliance from '0.0.0001' ...
BL2 stage 1 complete.
BL2 stage 2 complete.
Booting appliance IBM z/OS Container Extensions 'azdgbrt' 1.10.2 
BL2 stage 3 complete.
BL2 stage 4 complete.
[IMPORTER] Starting Importer code in 2BL|
[IMPORTER] Nothing to import, booting normally.  
BL2 stage 5 complete.
Switching to appliance.  
Running 'azdgbrt' version '1.10.2' level 'HZDC7C0.oa58936'.

So I am not sure what it is waiting for.

MVS TCP/IP NETSTAT CS V2R4   TCPIP Name: TCPIP   00:13:27
Dynamic VIPA:
  IP Address  AddressMask StatusOrigination DistStat
  --  --- ----- 
  10.1.1.5255.255.255.255 ActiveVIPARange IOCTL
ActTime:  11/26/2021 01:28:54JobName:SNAZCX
ZCX:  Yes

MVS TCP/IP NETSTAT CS V2R4   TCPIP Name: TCPIP   00:19:54
Home address list:
Address  Link Flg
---   ---
172.18.4.2   ETH1 P
10.1.10.1EZASAMEMVS
10.1.1.5 VIPL0A010105
127.0.0.1LOOPBACK

Address  InterfaceFlg
---  ----
10.1.10.1EZAZCX

MVS TCP/IP NETSTAT CS V2R4   TCPIP Name: TCPIP   00:28:58
User Id  Conn Local Socket   Foreign Socket State
---      -- -
BPXOINIT 0017 0.0.0.0..10007 0.0.0.0..0 Listen
HTTPD17  0014 0.0.0.0..800.0.0.0..0 Listen
IZUSVR1  0041 172.18.4.2..10443  0.0.0.0..0 Listen
JES2S001 000D 0.0.0.0..175   0.0.0.0..0 Listen
JES2S001 006B 172.18.4.2..175172.17.16.43..34734Establsh
PORTMAP  000F 0.0.0.0..111   0.0.0.0..0 Listen
SSHD30018 0.0.0.0..220.0.0.0..0 Listen
SSHD30029 172.18.4.2..22 192.168.240.38..59665  Establsh
TN3270   0026 172.18.4.2..23 192.168.240.38..59651  Establsh
TN3270   000B 0.0.0.0..230.0.0.0..0 Listen
TN3270   000A 0.0.0.0..2023  0.0.0.0..0 Listen
NFSC 0013 0.0.0.0..1023  *..*   UDP
PORTMAP  000E 0.0.0.0..111   *..*   UDP

The system log shows:

EZD1204I DYNAMIC VIPA 10.1.1.5 WAS CREATED USING IOCTL BY SNAZCX ON TCPIP   

EZD0009I CONNECTION TO 10.1.1.5 ACTIVE FOR INTERFACE EZAZCX 
GLZB001I zCX instance SNAZCX initialization is complete. Code date  
04/01/20.   

On Wed, 24 Nov 2021 03:48:03 +, Neale Ferguson  
wrote:

Works fine under our zCX environment ...




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


Re: dotnet under zCX

2021-11-25 Thread Roger Lowe
On Wed, 24 Nov 2021 03:48:03 +, Neale Ferguson  wrote:

>I’d be interested if someone could give this a run in their zCX environment. I 
>am still trying to configure mine…
>
>If you would like to give dotnet on Z a test drive and don’t yet have RHEL 8.5 
>I have created a docker image. Follow these steps to build and run the “Hello 
>World” program:
>
Works fine under our zCX environment ...

Welcome to the IBM z/OS Container Extensions (IBM zCX) shell that provides 
access to Docker commands.
For more information on how to use this shell to execute Docker commands refer 
to IBM
Last login: Thu Nov 25 04:56:04 2021 from 155.205.27.27
jyy@zcxs001:~$ docker run --rm -it clefos/dotnet
Unable to find image 'clefos/dotnet:latest' locally
latest: Pulling from clefos/dotnet
1f0267805cca: Pull complete
f867d5655f35: Pull complete
a1fd90c210ad: Pull complete
e3c2ff57c1de: Pull complete
108b4a2a82d3: Pull complete
a47ddbb1049a: Pull complete
92416c5fcb18: Pull complete
a30f3a66: Pull complete
523ebb626ce7: Pull complete
Digest: sha256:afe628428b4f9eb80c3e54d2b2cc7f51348340387602bb89152b068fff115c72
Status: Downloaded newer image for clefos/dotnet:latest
dotnet@b3672ef4f444:~$ dotnet new console --output consapp
The template "Console App" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /home/dotnet/consapp/consapp.csproj...
  Determining projects to restore...
  Restored /home/dotnet/consapp/consapp.csproj (in 146 ms).
Restore succeeded.

dotnet@b3672ef4f444:~$ cd consapp
dotnet@b3672ef4f444:~/consapp$ dotnet build
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  consapp -> /home/dotnet/consapp/bin/Debug/net6.0/consapp.dll

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:04.32
dotnet@b3672ef4f444:~/consapp$ dotnet run
Hello, World!
dotnet@b3672ef4f444:~/consapp$ ls -l
total 8
-rw-r--r-- 1 dotnet dotnet 105 Nov 26 03:51 Program.cs
drwxr-xr-x 1 dotnet dotnet  10 Nov 26 03:51 bin
-rw-r--r-- 1 dotnet dotnet 249 Nov 26 03:51 consapp.csproj
drwxr-xr-x 1 dotnet dotnet 266 Nov 26 03:51 obj
dotnet@b3672ef4f444:~/consapp$


Roger

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


dotnet under zCX

2021-11-23 Thread Neale Ferguson
I’d be interested if someone could give this a run in their zCX environment. I 
am still trying to configure mine…

If you would like to give dotnet on Z a test drive and don’t yet have RHEL 8.5 
I have created a docker image. Follow these steps to build and run the “Hello 
World” program:

[neale@aussie-3:~/docker]$ docker run --rm -it clefos/dotnet
dotnet@f5fcd3f45edd:~$ dotnet new console --output consapp
The template "Console App" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /home/dotnet/consapp/consapp.csproj...
  Determining projects to restore...
  Restored /home/dotnet/consapp/consapp.csproj (in 114 ms).
Restore succeeded.

dotnet@f5fcd3f45edd:~$ cd consapp/
dotnet@f5fcd3f45edd:~/consapp$ dotnet build
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  consapp -> /home/dotnet/consapp/bin/Debug/net6.0/consapp.dll

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:02.94
dotnet@f5fcd3f45edd:~/consapp$ dotnet run
Hello, World!
dotnet@f5fcd3f45edd:~/consapp$ ls -l
total 16
-rw-r--r-- 1 dotnet dotnet  105 Nov 24 03:04 Program.cs
drwxr-xr-x 3 dotnet dotnet 4096 Nov 24 03:04 bin
-rw-r--r-- 1 dotnet dotnet  249 Nov 24 03:04 consapp.csproj
drwxr-xr-x 3 dotnet dotnet 4096 Nov 24 03:04 obj

Neale

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