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: Do I have a looping issue?
On Wed, 26 Oct 2022 at 22:22, Joe Monk <joemonk64@...> wrote:
Having an active FRR at the MVS (guest) level doesn't stop the real program check happening at the VM (host) level. It will get trapped at the MVS level, but only after it's happened. Neither Hercules nor VM know anything about MVS's FRR. Tony H.
|
Re: It has been awhile and I forget how to get past a power loss
On Wed, Oct 26, 2022 at 01:41 PM, Dave Wade wrote:
I was taught to try, in the following order: CKPT FORCE COLD Selected from the GC20-1806-9_VM370_Operators_Guide_Rel_6_PLC_17_Apr81.pdf at Cold Start Cold start procedures are usually invoked only on operation of a new version of the VM/370 system or files. as well as accounting records are lost or because of a hardware error that prevented valid continuation. Failures in system component power, building power, hardware logic, the CP program, or some (rare) kinds of user programs can be classified as system operating procedure errors; all can require that you start the system with a cold start. Some of these malfunctions may require you to issue the SHUTDOWN command. If the SHUTDOWN command cannot be keyed in, you can press the LOAD button on the System/370 console. Then after the appearance of the shutdown message, you should press the LOAD button a second time to reload the system with VM/370. VM/370 issues a message to you to perform cold start procedures when it recognizes that unrecoverable errors have occurred. Warm Start Warm start implies that the previous VM/370 session ended with an orderly shutdown procedure. A warm start should be attempted after VM/370 has abnormally terminated, and after a successful system dump operation. Begin warm start procedures if yeu are not alerted by console messages or visual indications that a checkpoint or cold start is required. Warm start restores previous spool controls and files; accounting records remain valid and are to te kept as a base for continuing operations. In many cases, Vft/310 recovers froll system failures and restarts itself. Checkpoint Start If the system could not perform a warm start because of I/O errors or invalid data in the warm start area, you can request a checkpoint (CKPT) start. This option attempts to initialize the system using the information that has been dynaaically checkpointed during system operation and stored in the checkpoint area. Spool file chains are reconstructed; however, the original order of the files is lost. Accounting and systea message data, recovered under a warm start, is lost under a checkpoint start~ Ilso, because each spocl buffer aust be read to reconstruct the record allocation blocks, a checkpoint start takes longer than a warm start. Force Start If the system cannot perform a checkpoint start because of I/O errors or invalid data in the checkpoint area, you can request a force (PORCE) start. This option operates like the CKPT start except that any spool file that contains unreadable or invalid data is dropped from the system. When the FORCE option is used, you should not allow any users to log on to the system. The system should be devoted to reclaiming and putting out as many spool files as possible. When this has been accomplished, the system should be re-initialized using the cold (COLD) start option. I Hope This Helps. ?... Mark S. |
Updated Wiki Page: Frequently Asked Questions
#wiki-notice
Group Notification
The wiki page Frequently Asked Questions has been updated by Mark A. Stevens <marXtevens@...>. |
Re: Do I have a looping issue?
Because he'e running MVS as a guest and the error is supposed to be trapped at the MVS level. Joe On Wed, Oct 26, 2022 at 8:06 PM Fish Fish <david.b.trout@...> wrote: Joe Monk wrote: |
Re: Do I have a looping issue?
Fish,?
?
I am NOT using?OSTAILOR QUIET.? My configuration file has?OSTAILOR?VM.
?
At your suggestion, I've added?OSTAILOR OS/390.
?
When I added the?"PGMTRACE -04" statement immediately after your OSTAILOR statements, I get an error message:
ie.??OSTAILOR VM
? ? ?OSTAILOR +OS/390
? ? ?PGMTRACE?-04
I then tried:
? ? ?OSTAILOR VM
? ? ?OSTAILOR +OS/390?PGMTRACE?-04
and still received the same error.? Where does the "PGMTRACE?-04" go? |
Re: Do I have a looping issue?
yep definitely odd. But here's the real question ... why is hercules seeing/reporting it?? There's code in IEAVEVAL to trap via FRR a protection exception that occurs due to compare and swap ... * 13650002 * ? ? ? ? ? ? ? ? ?ESTABLISH FUNCTIONAL RECOVERY ROUTINE ? ? ? ? ? ? ?* 13700002 * 13750002 ? ? ? ? ?LA ? ?R6,VLCKFRR ? ? ? GET ADDRESS OF FRR ROUTINE ? ? ? ? ? ? ?13800002 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ESTABLISH FRR ? ? ? ? ? ? ? ? ? ? ? ? ? 13850002 ? ? ? ? ?SETFRR A,FRRAD=(R6),PARMAD=(R5),WRKREGS=(R5,R7) ? ? ? ? ? ? ? ?13900002 ? ? ? ? ?USING PARMFRR,R5 ? ? ? ? ?SET UP ADDRESSABILITY TO PARM AREA ? 13910002 ? ? ? ? ?ST ? ?R10,SAVEPTR ? ? ? ? SAVE ADDRESS OF SAVE AREA ? ? ? ? ? ?13920002 ? ? ? ? EJECT ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 13930002 * 13950002 * ? ? ? ? ? ? ?SWITCH TO TCBPKF KEY ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 14000002 * 14050002 ? ? ? ? ?MODESET EXTKEY=TCB,WORKREG=6 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 14100002 ? ? ? ? EJECT ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 14105002 * 14110002 * ? ? ? ? ? ? ? ? ? ? ? ?FETCH AND STORE TEST ? ? ? ? ? ? ? ? ? ? ? ? * 14120002 * 14130002 VLCK03 ? DS ? ?0H ? ? ? ? ? ? ? PAGE TEST LOOP ? ? ? ? ? ? ? ? ? ? ? ? ?14140002 ? ? ? ? ?L ? ? R6,DISPL0(R1) ? ?PICK UP WORD FROM PAGE ? ? ? ? ? ? ? ? ?14150002 VLCK04 ? DS ? ?0H ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 14200002 ? ? ? ? ?CS ? ?R6,R6,DISPL0(R1) PERFORM FETCH AND STORE ? ? ? ? ? ? ? ? 14250002 ? ? ? ? ?BNZ ? VLCK04 ? ? ? ? ? REPEAT TEST IF COMPARE UNEQUAL ? ? ? ? ?14300002 * 14350002 * ? ? ? ?IF CS INSTRUCTION DID NOT CAUSE A PROGRAM CHECK TEST IS ? ? ?* 14400002 * ? ? ? ?SUCCESSFUL. FRR ROUTINE WILL INTERCEPT PROGRAM CHECKS ? ? ? ?* 14450002 * 14500002 ? ? ? ? ?N ? ? R1,PGEBDY ? ? ? ?ROUND TO PAGE BOUNDARY FOR ? ? ? ? ? ? ?14510002 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? REMAINING PAGES ? ? ? ? ? ? ? ? ? ? ? ? 14520002 ? ? ? ? ?A ? ? R1,PGESIZE ? ? ? INCREASE STARTING ADDRESS BY PAGE ? ? ? 14550002 ? ? ? ? ?BCT ? R8,VLCK03 ? ? ? ?REPEAT TEST IF MORE PAGES TO CHECK ? ? ?14600002 ? ? ? ? EJECT ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 14620002 * 14650002 * ? ? ? ? ? ? ?SWITCH BACK TO KEY 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 14700002 * 14750002 ? ? ? ? ?MODESET EXTKEY=SUPR ? ? ? ?SWITCH BACK TO KEY 0 ? ? ? ? ? ? ? ?14800002 ? ? ? ? EJECT ? ? ? ? ? ? ? ? ? ?? * 16050002 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 16100002 * ? ? ? ? ? ? ? ? ? ? ? ?FRR ROUTINE ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?* 16150002 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 16200002 * 16250002 VLCKFRR ?DS ? ?0H ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 16300002 ? ? ? ? ?BALR ?R12,R0 ? ? ? ? ? ESTABLISH ADDRESSABILITY ? ? ? ? ? ? ? ?16300802 ? ? ? ? ?USING *,R12 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?16301602 ? ? ? ? ?LR ? ?R11,R1 ? ? ? ? ? SET UP PTR TO SDWA ? ? ? ? ? ? ? ? ? ? ?16302402 ? ? ? ? ?USING SDWA,R11 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 16303202 ? ? ? ? ?L ? ? R10,SDWAPARM ? ? SET UP PTR TO PARM AREA ? ? ? ? ? ? ? ? 16304002 ? ? ? ? ?USING PARMFRR,R10 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?16304802 ? ? ? ? ?TM ? ?SDWAERRD,SDWACLUP ?CAN RETRY BE DONE? ? ? ? ? ? ? ? ? ? ?16305602 ? ? ? ? ?BNZ ? CONTERM ? ? ? ? ?NO, CONTINUE WITH TERMINATION ? ? ? ? ? 16306402 ? ? ? ? ?TM ? ?FLAGS,RECURSB ? ?RECURSIVE ABEND? ? ? ? ? ? ? ? ? ? ? ? ?16307202 ? ? ? ? ?BO ? ?CONTERM ? ? ? ? ?YES, CONTINUE WITH TERMINATION ? ? ? ? ?16308002 ? ? ? ? ?OI ? ?FLAGS,RECURSB ? ?SET RECURSIVE INDICATOR ? ? ? ? ? ? ? ? 16308802 ? ? ? ? ?TM ? ?SDWAERRA,SDWAPCHK PROGRAM CHECK? ? ? ? ? ? ? ? ? ? ? ? ? 16309602 ? ? ? ? ?BNO ? CONTERM ? ? ? ? ?NO, CONTINUE WITH TERMINATION ? ? ? ? ? 16310402 ? ? ? ? EJECT ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 16310602 * 16310802 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 16310902 * ? ? ? ? ? ? ? ? ? ? ? ? ?PROGRAM CHECK ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?* 16311002 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 16311102 * 16361102 ? ? ? ? ?CLI ? SDWAICD1,PROTERR PROTECTION EXCEPTION ? ? ? ? ? ? ? ? ? ?16411102 ? ? ? ? ?BE ? ?RETRY ? ? ? ? ? ?YES, EXPECTED ABEND- RETRY ? ? ? ? ? ? ?16461102 ? ? ? ? ?CLI ? SDWAICD1,ADDRERR ADDRESSING EXCEPTION ? ? ? ? ? ? ? ? ? ?16511102 ? ? ? ? ?BE ? ?RETRY ? ? ? ? ? ?YES, EXPECTED ABEND- RETRY ? ? ? ? ? ? ?16561102 ? ? ? ? ?CLI ? SDWAICD1,SEGERR ?SEGMENT TRANSLATION ERROR ? ? ? ? ? ? ? 16611102 ? ? ? ? ?BE ? ?RETRY ? ? ? ? ? ?YES, EXPECTED ABEND- RETRY ? ? ? ? ? ? ?16661102 ? ? ? ? ?CLI ? SDWAICD1,PAGERR ?PAGE TRANSLATION ERROR ? ? ? ? ? ? ? ? ?16711102 ? ? ? ? ?BNE ? CONTERM ? ? ? ? ?NO, NOT AN EXPECTED PGM CHECK ? ? ? ? ? 16761102 ? ? ? ? EJECT ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 16766102 * 16771102 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 16781102 * ? ? ? ? ? ? ? ? ? ? ? ? EXPECTED PROGRAM CHECK ? ? ? ? ? ? ? ? ? ? ?* 16791102 * ? ? ? ? ? ? ? ? ? ? ? ? ?0C4, 0C5, 0D0, OR 0D1 ? ? ? ? ? ? ? ? ? ? ?* 16801102 * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 16803102 * 16805102 RETRY ? ?DS ? ?0H ? ? ? ? ? ? ? RETRY AT VALRETRY ? ? ? ? ? ? ? ? ? ? ? 16811102 ? ? ? ? ?L ? ? R8,SAVEPTR ? ? ? RESTORE SAVE AREA PTR IN ? ? ? ? ? ? ? ?16861102 ? ? ? ? ?ST ? ?R8,SDWASR10 ? ? ?REGISTERS TO BE USED FOR RETRY ? ? ? ? ?16911102 ? ? ? ? ?SETRP RETADDR=VALRETRY,RECORD=NO,DUMP=NO,RETREGS=YES,RC=4, ? ?*16961102 ? ? ? ? ? ? ? ?WKAREA=(R11) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 17011102 ? ? ? ? ?BR ? ?R14 ? ? ? ? ? ? ?RETURN TO RTM ? ? ? ? ? ?? Joe On Wed, Oct 26, 2022 at 7:12 PM Fish Fish <david.b.trout@...> wrote: Joe Monk wrote: |
Re: Do I have a looping issue?
Joe Monk wrote:
[...] Since the TPROT instruction didnt exist on 370,That's odd, because according to Wikipedia, MVS 3.8j was released in 1981: * and the TPROT instruction exists plain as day in the Seventh Edition (March 1980) of IBM System/370 Principles of Operation, so it was definitely available when MVS 3.8j was released! But then maybe they never got around to actually fixing IEAVEVAL to actually use it until some other later release? In any case I guess the point is moot. It's obvious "our" version of MVS 3.8j isn't using it, which seems to be the problem. -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: Do I have a looping issue?
"Which I completely agree with! Executing a CS instruction and checking to see whether or not it causes a protection exception program interrupt is a rather piss-poor way to determine if an address is writable or not! (ISK/ISKE/IVSK immediately springs to mind)" See the TPROT instruction on page 10-47, which was added to IEAVEVAL in MVS/XA.? That is what IEAVEVAL?is doing. Since the TPROT instruction didnt?exist on 370, CS was the only way... Joe On Wed, Oct 26, 2022 at 10:11 AM Fish Fish <david.b.trout@...> wrote: Dave Wade wrote: |
Re: It has been awhile and I forget how to get past a power loss
¿ªÔÆÌåÓýThere is wiki space on groups.io. ? ? I just tweaked the settings so its visible to non-members, members can edit. ? Dave ? ? ? From: [email protected] <[email protected]> On Behalf Of Bertram Moshier
Sent: 26 October 2022 21:19 To: [email protected] Subject: Re: [h390-vm] It has been awhile and I forget how to get past a power loss ? I love the idea of a WIKI for VM/CE. ? I guess we need to find a place to host our own VM/CE Wikipedia.? I found: ? ? and ? We just need three things: ? 1) Wikipedia software 2) Hosting place 3) People to run, maintain, and update the VM/CE Wiki ? Numbers 1 and 2 could be an existing place or one we create. ? It would be great if we could host it on VM/CE. :) ! ? ? ? ? ? On Wed, Oct 26, 2022 at 2:58 PM Dave Wade <dave.g4ugm@...> wrote:
|
Re: Do I have a looping issue?
Ren¨¦ Ferland wrote:
Hello Fish,What? You mean fuck/fucking? Nah! Doesn't bother me at all. ;-) I did not want to upset you (or anyone else here).Well you certainly did NOT upset me if that's what you were worried about. Profanity doesn't bother me AT ALL. (And I personally feel that those who *are* bothered by it are prudes and need to learn to grow up.) Since English is not my native language, I guess I'd betterNah. Use whatever words you feel comfortable with using. Thanks for the information in your messages (this thread)You're very welcome, Ren¨¦. Glad I could help. Take care my friend! :) -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: It has been awhile and I forget how to get past a power loss
I love the idea of a WIKI for VM/CE. I guess we need to find a place to host our own VM/CE Wikipedia.? I found: ? and We just need three things: 1) Wikipedia software 2) Hosting place 3) People to run, maintain, and update the VM/CE Wiki Numbers 1 and 2 could be an existing place or one we create. It would be great if we could host it on VM/CE. :) ! On Wed, Oct 26, 2022 at 2:58 PM Dave Wade <dave.g4ugm@...> wrote: > -----Original Message----- |
Re: It has been awhile and I forget how to get past a power loss
toggle quoted message
Show quoted text
-----Original Message-----power losswork and to recover you must do "cold" which should always work but does lose thespool files which isn't what you want.actually letSometimes I think we over-automate things and the best plan is to the operator decide...the experience ( or memory ) of what to do as an operator in this situation.I agree, but to me that's a whole new ball game. I thought about creating a Wiki on the group web site but is that "easily found"? Would it go on the web site? Or on GitHub? For me the when I forget I look in the Operators Manual - which does explain.... So I am open to suggestions? Where would folks look...
Dave |
Re: It has been awhile and I forget how to get past a power loss
On Wed, Oct 26, 2022 at 08:31:57PM +0100, Dave Wade wrote:
A good point, but there might also be a document, easily found, that-----Original Message-----The script starts Hercules with a "START" command and so it never sees a "normal exit". says: "What to do if...." for this situation for those of us don't have the experience ( or memory ) of what to do as an operator in this situation. B-) |
Re: It has been awhile and I forget how to get past a power loss
toggle quoted message
Show quoted text
-----Original Message-----The script starts Hercules with a "START" command and so it never sees a "normal exit". This doesn't happen very often, and when it does the answer isn't always obvious. Some might want to try "ckpt" or "force" but it might be these don't work and to recover you must do "cold" which should always work but does lose the spool files which isn't what you want. Sometimes I think we over-automate things and the best plan is to actually let the operator decide... Dave Wade |
Re: Do I have a looping issue?
Hello Fish,
My turn to I apologize for the f word in my message, I did not want to upset you (or anyone else here). Since English is not my native language, I guess I'd better stay away from the "big words". Thanks for the information in your messages (this thread) and also that trick you explained in H390-DOSVS regarding * $$ PUN DISP=I. I did not know about it. Cheers, Rene FERLAND, Montreal |
Re: It has been awhile and I forget how to get past a power loss
I'm not one of the Herc mainters, but thank you for the comment to this thread and to them. On Wed, Oct 26, 2022, 14:12 Fish Fish <david.b.trout@...> wrote: Fish wrote: |
Re: It has been awhile and I forget how to get past a power loss
Fish wrote:
[...] And it looks like VM/CE's startup scripting might need toAnd in the interest of possibly helping out the VM/CE maintainers, creating a simple 0-length file ("touch foo") upon normal Hercules shutdown/exit might possibly work. Then simply check for the existence of that file in your startup script, and if not found, presume the guest wasn't shutdown gracefully and switch to using a slightly different script instead that would automatically issue the "/ckpt" command. (And of course *deleting* the file before starting Hercules and IPLing your guest each time too! Duh!(*)) (*) (I'm not familiar with how you have your automated scripts designed, but hopefully you get the idea!) -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: It has been awhile and I forget how to get past a power loss
Hello, Thank you to both Fish (David) and Dave for your reply.? I got it up and running with /CKPT I was trying other stuff (which I need not go into). Bertram WB8ERT On Wed, Oct 26, 2022 at 1:48 PM Fish Fish <david.b.trout@...> wrote: Bertram Moshier wrote: |