开云体育


Re: building BREXX

 

开云体育

Or, Adrian, you can just add me as collaborator so I can work directly on the CMS brexx code in there, and use your build system, for speed.


On 13 Feb 2020, at 11:34, rvjansen@... wrote:

Yes, I have a fork of Bill Vlachoudis’s repository at rvjansen/brexx, because I use that for pull requests for macos. Maybe it’s best if you also fork from the main brexx repository, than I can fork yours for pull requests and use the issue system. There is a CMS directory; I suggest we put the current code on BREXX 191 in there. If we put the [FILENAME] ORIG files there first, we can track the diffs with git.

btw, that odd bug with division seems to be in INTERPRET:

type test2 exec ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
/* */ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
SAY 100/81 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Ready; T=0.01/0.01 10:30:54 ? ? ? ? ? ? ? ? ? ? ?
test2 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
1.2345679 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Ready; T=0.02/0.03 10:30:58 ? ? ? ? ? ? ? ? ? ? ?
say 100/81 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
1.2345679zABCDEFGHIJKLMNOPQRSTUVWXYZ0123 ? ? ? ??
Ready; T=0.02/0.03 10:31:06 ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
So that is one clue.

btw2 I don’t care about licenses, we should respect what people put in their comments.

best regards,

搁别苍é.


On 13 Feb 2020, at 11:27, adriansutherland67 <adrian@...> wrote:

On Wed, Feb 12, 2020 at 01:42 PM, adriansutherland67 wrote:
I will create a CMS BREXX project directly and ping the link
So I made a repository -??- (and guessed licenses - wrongly) - but then noticed this?the motherload. So we have a couple of choices ...

1. If the port didn't change the code (only added to it), we can have a repository, pull in his code as a submodule and just do the build and install scripts and
add any special code to handle CMS. Looking at his repository it has a MVS folder that implies this is feasible.

2. Fork and (being good citizens) provide pull requests for any code fixes we might do

Thoughts? I think we should try 1 ...

A




Re: building BREXX

 

开云体育

Yes, I have a fork of Bill Vlachoudis’s repository at rvjansen/brexx, because I use that for pull requests for macos. Maybe it’s best if you also fork from the main brexx repository, than I can fork yours for pull requests and use the issue system. There is a CMS directory; I suggest we put the current code on BREXX 191 in there. If we put the [FILENAME] ORIG files there first, we can track the diffs with git.

btw, that odd bug with division seems to be in INTERPRET:

type test2 exec ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
/* */ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
SAY 100/81 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Ready; T=0.01/0.01 10:30:54 ? ? ? ? ? ? ? ? ? ? ?
test2 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
1.2345679 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Ready; T=0.02/0.03 10:30:58 ? ? ? ? ? ? ? ? ? ? ?
say 100/81 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
1.2345679zABCDEFGHIJKLMNOPQRSTUVWXYZ0123 ? ? ? ??
Ready; T=0.02/0.03 10:31:06 ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
So that is one clue.

btw2 I don’t care about licenses, we should respect what people put in their comments.

best regards,

搁别苍é.


On 13 Feb 2020, at 11:27, adriansutherland67 <adrian@...> wrote:

On Wed, Feb 12, 2020 at 01:42 PM, adriansutherland67 wrote:
I will create a CMS BREXX project directly and ping the link
So I made a repository -??- (and guessed licenses - wrongly) - but then noticed this?the motherload. So we have a couple of choices ...

1. If the port didn't change the code (only added to it), we can have a repository, pull in his code as a submodule and just do the build and install scripts and
add any special code to handle CMS. Looking at his repository it has a MVS folder that implies this is feasible.

2. Fork and (being good citizens) provide pull requests for any code fixes we might do

Thoughts? I think we should try 1 ...

A



Re: building BREXX

 

There are substantial changes because original assumes ASCII. Some where we have a separate licence.??

Dave


On Thu, 13 Feb 2020, 10:27 am adriansutherland67, <adrian@...> wrote:
On Wed, Feb 12, 2020 at 01:42 PM, adriansutherland67 wrote:
I will create a CMS BREXX project directly and ping the link
So I made a repository -??- (and guessed licenses - wrongly) - but then noticed this?the motherload. So we have a couple of choices ...

1. If the port didn't change the code (only added to it), we can have a repository, pull in his code as a submodule and just do the build and install scripts and
add any special code to handle CMS. Looking at his repository it has a MVS folder that implies this is feasible.

2. Fork and (being good citizens) provide pull requests for any code fixes we might do

Thoughts? I think we should try 1 ...

A


Re: building BREXX

 

On Wed, Feb 12, 2020 at 01:42 PM, adriansutherland67 wrote:
I will create a CMS BREXX project directly and ping the link
So I made a repository -??- (and guessed licenses - wrongly) - but then noticed this?the motherload. So we have a couple of choices ...

1. If the port didn't change the code (only added to it), we can have a repository, pull in his code as a submodule and just do the build and install scripts and
add any special code to handle CMS. Looking at his repository it has a MVS folder that implies this is feasible.

2. Fork and (being good citizens) provide pull requests for any code fixes we might do

Thoughts? I think we should try 1 ...

A


Re: Stupid Question - how to add a file to MAINT MNT19E

 

On 2/12/20 3:45 AM, Bob Bolch wrote:
The ability to make only certain filemode number files visible, like filemode 2 files on the S and Y disks,
was not a security mechanism. It was a way to save storage by making only necessary files visible.
Maintenance files were not needed during ordinary use. It was convenient to place them on the system
disk.

VM data security was based on the architecture?that made one user's disks completely unavailable to
another user who does not have the disk read or write passwords.
And then there was the Romulan Cloaking Device (RLD) which created a second directory on the disk.?? Rather dangerous actually, as hidden files would get clobbered if the directory they were hidden from was used for read/write.


Re: Stupid Question - how to add a file to MAINT MNT19E

 

开云体育

On 2/11/20 10:33 PM, adriansutherland67 wrote:
On Tue, Feb 11, 2020 at 11:16 PM, Peter Coghlan wrote:
Then I used DDR to copy the original disk which I only had read access to
onto the temporary disk. Because I had read/write access to the temporary
disk, the standard ACCESS command let me see all the files on it.
Those were more innocent times, well in terms of IT security at least ...
_._,_._,_
Well, yes.? Consider I used DDR to dump the raw tracks of the MVS master catalog for its password a couple of weeks ago.

And of course, all those clear text passwords in the USER DIRECT ...

-ahd-


Re: Stupid Question - how to add a file to MAINT MNT19E

 

It worked (thank you) ... f.y.i this is the shell script that does the install:

#!/bin/sh
# Install YATA on CMS
?
# Exit if there is an error
set -e
?
# IPL
herccontrol -v
herccontrol "ipl 141" -w "USER DSC LOGOFF AS AUTOLOG1"
?
# LOGON MAINT AND READ TAPE
herccontrol "/cp disc" -w "^VM/370 Online"
herccontrol "/logon maint cpcms" -w "^CMS VERSION"
herccontrol "/" -w "^Ready;"
herccontrol "devinit 480 io/yatabin.aws" -w "^HHCPN098I"
herccontrol "/attach 480 to maint as 181" -w "TAPE 480 ATTACH TO MAINT"
herccontrol "/access 19e c" -w "^Ready;"
herccontrol "/tape load * * c" -w "^Ready;"
herccontrol "/rename yata module c1 = = c2"? -w "^Ready;"
herccontrol "/detach 181" -w "^Ready;"
herccontrol "/release c"? -w "^Ready;"
herccontrol "/ipl 190" -w "^CMS VERSION"
herccontrol "/savesys cms" -w "^CMS VERSION"
herccontrol "/" -w "^Ready;"
herccontrol "/logoff" -w "^VM/370 Online"
?
# LOGON CMSUSER
herccontrol "/logon cmsuser cmsuser" -w "^CMS VERSION"
herccontrol "/" -w "^Ready;"
?
# Sanity test
herccontrol "/yata -v" -w "^Ready;"
?
# LOGOFF
herccontrol "/logoff" -w "^VM/370 Online"
?
# SHUTDOWN
herccontrol "/logon operator operator" -w "RECONNECTED AT"
herccontrol "/shutdown" -w "^HHCCP011I"
?


Re: building BREXX

 

On Wed, Feb 12, 2020 at 01:11 PM, rvjansen@... wrote:
Adrian, do you have a project attached to your github repo? Can I enter my issues there? We can also check in changed brexx sources over there?
I will create a CMS BREXX project directly and ping the link

Yes lets get the source / issues logged.?

My backlog is like this:

- Update the VM/370 docker image to include YATA so I can move directories of source down to VM easily and automatically via the reader (YATA is "complete"). Hence my questions about updating the Y disk.
- Go back to??Automate the build now I have all the automation infrastructure in place.
- Get the VM/370 Docker Image to automatically include a defined version of CMS-370-GCCLIB - Then we can really debug and test the lib quickly, I think many of the BREXX defects may come for gcclib ...
- With your help, get BREXX source together and building automatically (against a defined version of GCCLIB)
- Defined Version of BREXX to the VM/370 image
- The Fullscreen libraries etc. (mecaff). The good doctor, of our parish, "devhawala" is happy for me to fork
- GCC itself
- CMS & CP kernels (subject to community agreement on the best way to support traditional and modern build and source control.
- Other facilities with the communities support / prioritisation
- ... the future ...
?







Re: building BREXX

 

开云体育

This is also reproducible:

type say exec ? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
/* */ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
INTERPRET 'SAY' ARG(1) ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
Ready; T=0.01/0.01 13:04:22 ? ??

? ? ? ? ??
say 21000/365 ? ? ? ? ? ? ? ? ? ? ? ? ? ??
583.333333ABCDEFGHIJKLMNOPQRSTUVWXYZ0123 ?

(brexx on other platforms gives?57.5342465753424647800784441642)

Adrian, do you have a project attached to your github repo? Can I enter my issues there? We can also check in changed brexx sources over there?

best regards,

搁别苍é.


On 11 Feb 2020, at 18:36, adriansutherland67 <adrian@...> wrote:

On Tue, Feb 11, 2020 at 04:41 PM, rvjansen@... wrote:
break things this quickly and catastrophically and be able to start from scratch
For me the most useful "cultural" description is this.

Computers and VMs are like pets, they have names and you keep them fed and healthy; containers are like cattle, they have no name and you shoot them if they get ill.


Re: Stupid Question - how to add a file to MAINT MNT19E

 

开云体育

Bob,

?

I don’t think we ever implied that modes 1 and 2 on the “S” and “Y” disk were anything other than for convenience. However, for Mode 0 the CMS user guide for VM/370 says

?

???? “a filemode number of 0 assigned to a file makes it private. No other user can access it unless they have read/write access to the disk”

?

So the manual implies it’s a security lock, and those who are not familiar with VM/CMS such as those asking here, might take that at its face value, when we know its not true.

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Bob Bolch
Sent: 12 February 2020 11:45
To: [email protected]
Subject: Re: [h390-vm] Stupid Question - how to add a file to MAINT MNT19E

?

The ability to make only certain filemode number files visible, like filemode 2 files on the S and Y disks,

was not a security mechanism. It was a way to save storage by making only necessary files visible.

Maintenance files were not needed during ordinary use. It was convenient to place them on the system

disk.?

?

VM data security was based on the architecture?that made one user's disks completely unavailable to

another user who does not have the disk read or write passwords.

?

?

On Wed, Feb 12, 2020 at 1:33 AM adriansutherland67 <adrian@...> wrote:

On Tue, Feb 11, 2020 at 11:16 PM, Peter Coghlan wrote:

Then I used DDR to copy the original disk which I only had read access to
onto the temporary disk. Because I had read/write access to the temporary
disk, the standard ACCESS command let me see all the files on it.

Those were more innocent times, well in terms of IT security at least ...


Re: Stupid Question - how to add a file to MAINT MNT19E

 

The ability to make only certain filemode number files visible, like filemode 2 files on the S and Y disks,
was not a security mechanism. It was a way to save storage by making only necessary files visible.
Maintenance files were not needed during ordinary use. It was convenient to place them on the system
disk.?

VM data security was based on the architecture?that made one user's disks completely unavailable to
another user who does not have the disk read or write passwords.
?

On Wed, Feb 12, 2020 at 1:33 AM adriansutherland67 <adrian@...> wrote:
On Tue, Feb 11, 2020 at 11:16 PM, Peter Coghlan wrote:
Then I used DDR to copy the original disk which I only had read access to
onto the temporary disk. Because I had read/write access to the temporary
disk, the standard ACCESS command let me see all the files on it.
Those were more innocent times, well in terms of IT security at least ...


Re: Stupid Question - how to add a file to MAINT MNT19E

 

On Tue, Feb 11, 2020 at 11:16 PM, Peter Coghlan wrote:
Then I used DDR to copy the original disk which I only had read access to
onto the temporary disk. Because I had read/write access to the temporary
disk, the standard ACCESS command let me see all the files on it.
Those were more innocent times, well in terms of IT security at least ...


Re: dial cpwatch and what it says

 

On 2/11/20 9:06 PM, Gregg Levine wrote:
Strange that glowing green spill in PA is getting worse. It's creeping
to a museum across the street. It seems Dave you have the Blob about
to take over your place.
Well that sure would explain this awful headache that I've not been
able to shake.

-Dave

--
Dave McGuire, AK4HZ
New Kensington, PA


Re: dial cpwatch and what it says

 

Hello!
Actually that's what I asked. It is too good for IBM to write it.
----
Strange that glowing green spill in PA is getting worse. It's creeping
to a museum across the street. It seems Dave you have the Blob about
to take over your place.
-----
Gregg C Levine gregg.drwho8@...
"This signature fought the Time Wars, time and again."

On Tue, Feb 11, 2020 at 8:32 PM René Ferland <ferland.rene@...> wrote:



Le mar. 11 févr. 2020 à 19:41, Gregg Levine <gregg.drwho8@...> a écrit :

And was this a user created mod? Or was it something that IBM created
and didn't have the time to include it on the basic disk pair, that is
the two pack one most of us started with.

I can see CPWATCH on the WATERLOO tape, with a name there: G.D. George, Cominco
Ltd., Trail, British Columbia, December 12, 1980.

Rene FERLAND, Montreal


Re: dial cpwatch and what it says

 



Le?mar. 11 févr. 2020 à?19:41, Gregg Levine <gregg.drwho8@...> a écrit?:

And was this a user created mod? Or was it something that IBM created
and didn't have the time to include it on the basic disk pair, that is
the two pack one most of us started with.

I can see CPWATCH on the WATERLOO tape, with a name there:?G.D. George, Cominco
Ltd., Trail, British Columbia, December 12, 1980.

Rene FERLAND, Montreal


dial cpwatch and what it says

 

Hello!
After updating Docker, its suggestion not mine, I promptly tried again
Adrian's Docker container for Hercules and the VM Six Pack and found
that yes indeed CPWatch was there. I checked on the contents of the
CMSUser disk, logged out, and then entered the command "Dial cpwatch".

The screens the terminal showed, it was CS3270, showed me more-or-less
what's going on inside this creation of the Sixpack. And so far I'm
convinced that the application should have been installed on the first
example of VM/370rel6 we met.

And was this a user created mod? Or was it something that IBM created
and didn't have the time to include it on the basic disk pair, that is
the two pack one most of us started with.
---
Strange.... There's a big heap of glowing green stuff all over a
parking lot in a PA town someplace. So Dave M what did you do now?
-----
Gregg C Levine gregg.drwho8@...
"This signature fought the Time Wars, time and again."


Re: Stupid Question - how to add a file to MAINT MNT19E

 


Mode “0” files are only visible if you have write access to the disk,

Unless you patched the access command to display them .

As users “own” the virtual machine its possible for them to do this.
Back in the day, as an ordinary VM user, that was quite beyond my capability.
Instead I uses an easier but more sledgehammer to crack a nut approach. I
defined a temporary disk the same size as the disk I wanted to see the files
on. Then I used DDR to copy the original disk which I only had read access to
onto the temporary disk. Because I had read/write access to the temporary
disk, the standard ACCESS command let me see all the files on it.

Regards,
Peter Coghlan.


Re: Stupid Question - how to add a file to MAINT MNT19E

 

开云体育

Adrian

?

There will be a document somewhere that describes the file modes. (CMS user guide)

?

Mode “0” files are only visible if you have write access to the disk,

Unless you patched the access command to display them .

As users “own” the virtual machine its possible for them to do this.

Mode “1” are normal files.

Mode “2” are normally treated as mode 1 but By default the “S” and “Y” disks are accessed so only mode “2” files show.

This means you can have files on those disks that you use to build commands, but they are not visible to normal users.

As the “directories” for these disks are cached in a saved segment, so memory, this also keeps the size of the CMS saved segment down.

Mode 3 files are erased as they are read,

Mode 4 are OS emulated format,

Mode 5 same as 1 or 2…

?

Dave

?

?

From: [email protected] <[email protected]> On Behalf Of adriansutherland67
Sent: 11 February 2020 22:18
To: [email protected]
Subject: Re: [h390-vm] Stupid Question - how to add a file to MAINT MNT19E

?

Thank you all ... You are gentlemen and scholars!

I will try tomorrow.

Btw ... What does?the 2 in the filemode signify?


Re: Stupid Question - how to add a file to MAINT MNT19E

 

The 2 will assure that it is visible on a CMS system drive like S or Y. If it’s anything but 2 it won’t show up in the list of files.?

Dennis


Re: Stupid Question - how to add a file to MAINT MNT19E

 

On 2/11/20 5:18 PM, adriansutherland67 wrote:
Btw ... What does?the 2 in the filemode signify?
This is from my notes, and I don't recall where it came from. Anyone
with more information, please speak up, but this is what I have:

1 normal
2 common files, typically on S and Y
3 erase after read
4 not used
5 stay in place


-Dave

--
Dave McGuire, AK4HZ
New Kensington, PA