Keyboard Shortcuts
Likes
- H390-Vm
- Messages
Search
This group is for all folks running the original IBM VM/370 Release 6 operating system (or later (e.g. VMTCE (Community Edition)) on Hercules. Like the other early IBM operating systems this version has always been in the public domain and so can be freely distributed. The base version as supplied by IBM is lacking in many facilities. IBM solved this by providing additional extension products which were licensed and so are not available. There are however many user enhancements available which can be installed. In addition, in order to get users up and running quickly updated "releases" of VM/370 included the most popular updates are available for download, so novices can start to learn VM without having to delve into the system internals. It is intended that this wiki will provide information on the base release and these updates.
The available versions are here :-
?
?
Re: VM/370 CE Assembler F, Assembler XF
On Tue, Jan 23, 2024 at 12:14 Drew Derbyshire <swhobbit@...> wrote:
That was true up to a point.? FORTRAN IV, as you note, had F, G, and H versions, which differed both in function and in required memory (and in overlay structure - remember overlays?).? But after a while, it became primarily a functional designation.? PL/I X, for example, was dramatically higher function than PL/I F, and could reasonably have been described as a new version of the language.? Waterloo's Asm G and SLAC's Assembler H used the "level" to indicate "newer and higher function", not "more RAM-hungry".? I vaguely recall using ASMGASM for MVT sysgens because it was smaller and faster. Ross Patterson? VMER emeritus? |
Re: VM/370 CE Assembler F, Assembler XF
On Mon, Jan 22, 2024 at 07:11 PM, Tony Harminc wrote:
Remember, the suffixes for various products is not based on function level but how much (real) memory it needed; this was an era when the IBM S/360 65 maxed out at 1 MB core of fast core.? Even the S/370 model 165 was originally offered with only up to 3 MB of core.? (The way Hercules users can run MVT on a uniprocessor with 16 MB of cheap real memory was a fantasy in 1971.) Quoting Wikipedia: Function was certainly related to how much memory was needed, but (re)writing an F level component when the H component existed made perfect sense if the F level component needed a quarter of the??(expensive)?memory. Weird but true.? No, just pragmatic. -- Drew Derbyshire Software Hobbit (SRE Emeritus) |
Re: VM/370 CE Assembler F, Assembler XF
I would like to second Eddy Balem's plug of Harold Grovesteen's most excellent SATK/ASMA product:
* As Harold already knows, I'm his biggest fan. It's a *very* nice, well written product that allows you quickly and easily write stand alone programs in an assembler that is virtually identical to IBM's (there are some differences but they're minor IMO), and, as Ed said, produces output that is usable on virtually any/all IBM operating systems in existence (including, I might add, not just legacy ones like VM/370, DOS/VS, etc, but also modern ones too like z/OS and z/VM). I use it all the time to write test cases for Hercules. Just take a look at Hercules's "test" subdirectory and you'll see. If anyone is interested in playing around with or learning mainframe assembler without the hassle of needing an operating system to do so, I would *highly recommend* that you give it a try! Harold and/or myself will gladly provide you with whatever help you might need to get started with it. -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: VM/370 CE Assembler F, Assembler XF
On Tue, Jan 23, 2024 at 04:45 AM, Harold Grovesteen wrote:
And do not forget the assembler that comes with SATK, also called ASMA it appears.Can't forget what I didn't know. Thank you very much. I will add it to the ever growing list of things-to-do. ?... Mark S. |
Re: VM/370 CE Assembler F, Assembler XF
On Tue, Jan 23, 2024 at 03:42 AM, Dave Wade wrote:
It looks like someone re-worked the source for ASMG here:I've been 'collecting' various 'versions' to see what is different, as the very first version I got, from a CBT tape some years ago, differs from what is out there now. ?... Mark S. |
Re: VM/370 CE Assembler F, Assembler XF
On Mon, Jan 22, 2024 at 09:11 PM, Tony Harminc wrote:
Assembler F and XF are indeed completely different programs. For whatever reasons, IBM appears to have written XF to the same specs as F, but from scratch. There are a few minor new features, and the code is reentrant (whoop-de-do), but that's it. That notwithstanding that the vastly superior Assembler H already existed. Weird but true.?Thank you very much for the history lesson. I read somewhere that G was written because of limitations in F, but I don't remember what those all were. Installing G on VM/370 is necessarily needed, but I am learning a lot along the way, and that makes it worth it for me. ?... Mark S. |
Re: VM/370 CE Assembler F, Assembler XF
On Tue, Jan 23, 2024 at 06:36 AM, Jay Maynard wrote:
Would it be feasible to expand G into full H compatibility? AIUI, H started out as IBM's version of G...I believe it would from the code I have been living with. There are modules that support the following instruction sets This is why I have been trying to get this installed, as I believe it could be extended to other architectures.? The following is from V2L7_ASMG_University_of_Waterloo_Assembler_G_Usage_Guide_10th_ed_197606.pdf I found at https://ia902302.us.archive.org/19/items/bitsavers_univOfWateityofWaterlooAssemblerGUsageGuide10thed1_5575394/V2L7_ASMG_University_of_Waterloo_Assembler_G_Usage_Guide_10th_ed_197606.pdf INSTset= (ISet=)? The instruction set which the assembler recognizes
|
Re: VM/370 CE Assembler F, Assembler XF
I would add, regarding ASMA, that the .OBJ object code generated is (in my experience) 100% compatible with IBM object decks, except that it does not include RLD information.
This means it should be usable in VM/CMS,DOS or DOS/VS provided you either determine its load address at assembly time, or write the code to be self-relocating. If you are writing bare metal/standalone programs it gives you full access to 390 and z/arch instructions without using assemblers designed for 24-bit architecture. Eddy Balem |
Re: VM/370 CE Assembler F, Assembler XF
I hadn't realized that IBM rewrote F into XF while H was already available. Interesting. Would it be feasible to expand G into full H compatibility? AIUI, H started out as IBM's version of G... On Mon, Jan 22, 2024 at 9:11?PM Tony Harminc <tharminc@...> wrote:
--
Jay Maynard |
Re: VM/370 CE Assembler F, Assembler XF
¿ªÔÆÌåÓýAnd do not forget the assembler that comes with SATK, also called ASMA it appears. The SATK ASMA manual is at the doc/asma/ASMA.pdf in the github
repository. The syntax is extremely close to the legacy assemblers, a few additions.? The output is different but it works well for its targeted use with bare-metal programs on mainframes.? All instructions from the S/360 through the latest z PoO -13 are supported. Harold Grovesteen On 1/22/24 21:11, Tony Harminc wrote:
|
Re: VM/370 CE Assembler F, Assembler XF
¿ªÔÆÌåÓýMark, To echo what Tony says, F and XF are different beasts. Basically, F was I think the pre MVS OS assembler, XF was distributed with MVS, VM and DOS. I have never seen ¡°F¡± on VM. I am sure I have had G running on VM because I tried it with GCC but gave up as it was no better. If I get time I¡¯ll see if I can find what I did. ? It looks like someone re-worked the source for ASMG here: ? ? there is also a note here:- ? ? which suggests that despite untested assertions elsewhere XF is faster than G and that using option BUF(MAX) speeds it up somewhat more ? Dave ? ? From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: Tuesday, January 23, 2024 2:14 AM To: [email protected] Subject: [h390-vm] VM/370 CE Assembler F, Assembler XF ? I am still trying, as I can find time, to get Assembler G installed on VM/370. I've run into an EXEC that mentions Assembler F as separate from Assembler XF. |
Re: VM/370 CE Assembler F, Assembler XF
On Mon, 22 Jan 2024 at 21:14, Mark A. Stevens via <marXtevens=[email protected]> wrote: I am still trying, as I can find time, to get Assembler G installed on VM/370. I've run into an EXEC that mentions Assembler F as separate from Assembler XF. Assembler F and XF are indeed completely different programs. For whatever reasons, IBM appears to have written XF to the same specs as F, but from scratch. There are a few minor new features, and the code is reentrant (whoop-de-do), but that's it. That notwithstanding that the vastly superior Assembler H already existed.
Weird but true.? H was always a chargeable Program Product, with source code available. There was a Version 2 of H, and that later morphed into the High Level Assembler - also not free, and also OCO. Assembler G is Assembler F with a bunch of additions and optimizations, and a compile&go option for student use. It's from the University of Waterloo. There is one more assembler - a version of XF used
to assemble code for the 3705 and similarly architected comms
controllers. I don't know if anyone has the source, but I think only the
instruction tables and some parts of code generation would have to have
been changed.
The module and message prefixes are: F???????? IEU G??????? ASMG XF?????? IFO/IFN H???????? IEV HLASM ASMA CWAX? CWA Source code for all three free ones is around, though G source is probably the least reliable. I know nothing about running G on VM/370, but I imagine it would run fine if invoked as an OS program. In other words I'm doubtful that there's an ASMG or the like command ready to go. There are various other assemblers out there for S/370 up to zArch code. I know of two commercial cross-assemblers that run on Intel platforms, and there is also a unique interactive one in TSS/360 that seems to have a unique code base. And of course in the Linux world the standard assembler can generate s390x code, though the input syntax and output formats are both radically different. Tony H. |
Re: VM37CE, Hercules and Windows 11
On Mon, Jan 22, 2024 at 3:22?PM Dave Wade <dave.g4ugm@...> wrote:
Dave's right - if you want to preserve your SPOOL files (which can sometimes be recovered by a checkpoint start), and avoid the start prompt, don't just close Hercules.? Instead, issue a /SHUTDOWN command and wait for the "HHC00809I Processor CP00: disabled wait state 000A0000 00000008" message from Hercules.? CP will write the checkpoint data to disk before it loads the disabled wait. Ross Patterson VMer emeritus |
Re: VM37CE, Hercules and Windows 11
On Mon, Jan 22, 2024 at 1:39?PM Steve Shepherd <cityarchitect@...> wrote: All the videos I've seen of this startup have been automatic all the way the the VM/370 Logo; they are all using secret scripts ;-) OK, so here's some more explanation of the magic :-) /18:32:35 AUTO LOGON? ?***? ?OPERATOR USERS = 001? BY? SYSTEM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Once the SPOOL has been recovered or cleared, the system operator userid (specified as SYSOPR SYSOPER= in DMKSYS ASSEMBLE) is automatically logged on (exactly as by the CP AUTOLOG command). ? /18:32:35 FILES: 001 RDR,? NO PRT,? NO PUN? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Those are total-system numbers - your entire SPOOL is one file, in some user's virtual card reader queue. ? /18:32:35 ERROR RECORDING area full; run CPEREP? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? You can ignore this, unless you're going to call a CE for your virtual hardware :-) HHC00009I RRR...RING...GGG!? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? CP writes "RRR...RING...GGG!" on the virtual machine's system console when the guest OS tries to ring the console bell.? Apparently Hercules does as well. ? /18:32:35 AUTO LOGON? ?***? ?AUTOLOG1 USERS = 002? BY? OPERATOR? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? CP also AUTOLOGs the user AUTOLOG1, if it exists.? You'll find that the PROFILE EXEC on AUTOLOG's 191 disk does a few things to get your system running: /18:32:36 AUTO LOGON? ?***? ?CPWATCH? USERS = 003? BY? AUTOLOG1? ? ? /18:32:36 RDR? 00C DRAINED? ?SYSTEM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^^^ all of those things were done by that PROFILE EXEC. ? Ross Patterson VMer emeritus |
Re: VM37CE, Hercules and Windows 11
¿ªÔÆÌåÓýSteve, Normally it would come up on its own. The reason you are seeing this is because it hasn¡¯t been shutdown properly, because you have had issues bringing it up in the past. Dave ? From: [email protected] <[email protected]> On Behalf Of Steve Shepherd
Sent: Monday, January 22, 2024 6:39 PM To: [email protected] Subject: Re: [h390-vm] VM37CE, Hercules and Windows 11 ? Thank you Ross, simple as that! I have never used VM/370; never advanced further than DOS/VS in the 1970s..... |
Re: VM37CE, Hercules and Windows 11
Hi Steve,
toggle quoted message
Show quoted text
well, it depends on whether CP can find valid warmstart data or not; when you carefully shut it down (when logged in as MAINT (or another properly privileged user) issue a SHUTDOWN) it will have a valid checkpoint and you will not see this message. The next tip that will come in handy: when the terminals don't seem to come up: ENABLE ALL best regards, ¸é±ð²Ô¨¦. On 22 Jan 2024, at 14:39, Steve Shepherd <cityarchitect@...> wrote: |
Re: VM37CE, Hercules and Windows 11
Thank you Ross, simple as that! I have never used VM/370; never advanced further than DOS/VS in the 1970s.....
All the videos I've seen of this startup have been automatic all the way the the VM/370 Logo; they are all using secret scripts ;-) /CKPT? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? HHC00107I Starting thread cckd_writer(), active=0, started=0, max=2? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? HHC00100I Thread id 00004838, prio 1, name 'cckd_writer thread 1' started? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:35 AUTO LOGON? ?***? ?OPERATOR USERS = 001? BY? SYSTEM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /DMKCPI957I Storage size = 16384 K,? ?Nucleus = 336 K,? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /? ? ? ? ? ?Dynamic Paging = 14788 K, Trace Table = 240 K,? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /? ? ? ? ? ?Free Storage = 1020 K,? ? Virtual=Real = 00000 K? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:35 FILES: 001 RDR,? NO PRT,? NO PUN? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:35 ERROR RECORDING area full; run CPEREP? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? HHC00009I RRR...RING...GGG!? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:35 AUTO LOGON? ?***? ?AUTOLOG1 USERS = 002? BY? OPERATOR? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /DMKCPI966I Initialization complete? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:36 AUTO LOGON? ?***? ?CPWATCH? USERS = 003? BY? AUTOLOG1? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:36 RDR? 00C DRAINED? ?SYSTEM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:36 PUN? 00D DRAINED? ?SYSTEM? ?CLASS = P? ? ? SEP? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:36 PRT? 00E DRAINED? ?SYSTEM? ?CLASS = A? ? ? SEP? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:36 PRT? 00F DRAINED? ?SYSTEM? ?CLASS = A? ? ? SEP? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:36 AUTO LOGON? ?***? ?CMSBATCH USERS = 004? BY? AUTOLOG1? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:37 AUTO LOGON? ?***? ?WAKEUP? ?USERS = 005? BY? AUTOLOG1? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:37? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? HHC00009I RRR...RING...GGG!? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? / WNG FROM AUTOLOG1:? AUTOLOG1 DONE - LOGGING OFF? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /18:32:37 USER DSC LOGOFF AS AUTOLOG1 USERS = 004? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? herc =====> |
Re: VM37CE, Hercules and Windows 11
On Mon, Jan 22, 2024 at 13:10 Steve Shepherd <cityarchitect@...> wrote:
CP is waiting for your answer to this question.? Until you tell it how you want to start up, nothing else will happen, including enabling terminals. Type your answer starting with a slash (which tells Hercules that the line is input for the OS, not a Hercules command).? Since the WARM start already failed, I'd try /CKPT first, to try to save the SPOOL files, and if it fails, then /COLD, to start with an empty SPOOL. After CP starts up, your /ENABLE ALL will throw a VM logo up on your WC3270 session, and you can log in. Ross Patterson? VMer emeritus? |