Keyboard Shortcuts
Likes
- H390-Vm
- Messages
Search
Re: Do I have a looping issue?
Joe Monk wrote:
Tony Harminc wrote:[...] Yes, I can see that, and I can certainly understand it as well. As you say Joe, at the time, it was the *only* way it could be done, and thus cannot *technically* be classified (considered) as a bug. I agree 100% with that.I really don't see that it's a bug. Maybe a less than idealWell, when it was implemented it was the only way! But I personally think it's quite telling that IBM did eventually "fix" (change) that particular routine to properly use the 'TPROT' instruction instead in their later versions of MVS up to and including the latest version of z/OS (which doesn't exhibit the problem). If using 'CS' instead of 'TPROT' isn't (wasn't / shouldn't be considered) a bug, then why did they feel the need to "fix" (change) it in later versions? Why didn't they simply leave well enough alone? After all, if it ain't broke, don't fix it! Right? If the version of MVS that's being used (3.8j) was only being run on the same/similar hardware that it originally ran on where the 'TPROT' instruction wasn't available, then it makes sense leaving it alone, as-is. But it's not. It's being run on "newer hardware" (Hercules) where the 'TPROT' instruction *is* available, thereby rendering what WAS "the proper/only way to do it" into "the improper way to do it for the hardware we're ALWAYS going to be running on". I still say it's something that should be fixed. I'll gladly retract my "bug" claim, but I'm NOT going to change my stance regarding it being something that SHOULD (IMHO) be fixed (changed). -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: Do I have a looping issue?
"I really don't see that it's a bug. Maybe a less than ideal implementation, but who's to judge that?" Well, when it was implemented it was the only way!? * ? ? ? ? ? ? IEAVEVAL ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00200002 *02* ? ? ?CSECT NAME= ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00210002 * ? ? ? ? ? ? IEAVEVAL ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00220002 *01* ?DESCRIPTIVE NAME= ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00250002 * ? ? ? ? ? ? ? ? ?VALIDITY CHECK ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00300002 *01* ?COPYRIGHT= ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00350002 * ? ? ? ? ? N/A ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00400002 *01* ?STATUS= ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00450002 * ? ? ? ?VS2-RELEASE2 ? ?? As we can see, it was implemented in OS/VS2 release 2. Long before MVS 3.8J and the TPROT instruction... Joe On Sat, Oct 29, 2022 at 8:30 PM Tony Harminc <tharminc@...> wrote:
|
Re: Do I have a looping issue?
On Sat, 29 Oct 2022 at 12:23, Fish Fish <david.b.trout@...> wrote: [...] I'm sure you'll agree that products should be allowed to issue whatever messages they feel might be helpful to the user. Yes? Well, sort of. The user should generally be able to tailor messages, typically by severity. I've seen plenty of complaints about all kinds of software that there are too many messages being issued, or they go to the wrong place, etc. There's even a recent thread on IBM-MAIN about an instance of this. ? [...] But given that this particular feature has been a part of Hercules for over 20 years now and, as far as I know, this one specific particular version of MVS is the *only* one (that I am aware of) that seems to trigger these particular unwanted messages that you are complaining so loudly about [...] This program check on a CS may well be unique as a routine thing, but I'm not at all sure it's a bug. As has been mentioned, it's a fundamental part of the MVS integrity design that the normal approach to validating a storage address passed from an unprivileged caller to a privileged one is to adopt the key of the caller before referencing the storage. If the address is not accessible by the caller then a program check will result. This is a fault in (or an attempt to compromise system integrity by) the unauthorized caller - not a fault in the OS. In the case at hand, it seems that an privileged MVS routine is doing this validation a different way, but either way would result in a program check in privileged MVS code. In fact, I feel the fact that the messages are being issued PROVES their usefulness! Their very issuance has brought to light what some feel is a serious shortcoming (or dare I say, bug) in MVS! Had the messages that you are currently complaining so loudly about NOT been issued, that fact would never have come to light. I really don't see that it's a bug. Maybe a less than ideal implementation, but who's to judge that? ? > It is never a good thing to see illegitimate program check messages It's most certainly not an "illegitimate" program check! That there's a problem in the operating system in question that should probably be fixed? :) No. Tony H. |
Re: virtual memory and overlays
On Sat 29 Oct 2022 at 17:15:24 +0200, Bernd Oppolzer via groups.io wrote:
from the rest of the compilation or by separating the compiler passes fromThere are definitely different phases, but in how far they are actually run sequentially (like actual passes), I don't know. At least current gccs have an option to dump out the intermediate data structures after each phase: -fdump-tree-all. In theory those passes might be run sequentially. But I suspect that the fact that a representation of the whole source program file is kept in memory at once will be an unavoidable problem, with only 16 MB of address space to work with. -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFH falu.nl@rhialto |
Re: virtual memory and overlays
I had a quick look, and it appears there is support in config.h for generating the pre-processor as a separate module. I may try doing this if I get a moment. Dave |
Re: Do I have a looping issue?
Gregg Levine wrote:
Aaron, ideally the things that the OSTAILOR instructionsYes, OSTAILOR is definitely documented: * PGMTRACE is not however. It's mentioned, but it's technically not documented. But then, I'm not sure it really needs to be either. I think simply mentioning it in this particular case should be good enough. It is also not documented anywhere what *specific* program interrupts are filtered by default for each OSTAILOR setting either, but it's easy enough to determine that for oneself, as my earlier post illustrated: * /g/h390-vm/message/4474 The other problem is that how many of us are even aware of them?That's hardly surprising. In my experience most users *rarely* take the time to read through a product's available documentation to familiarize themselves with it. They usually go straight to trying to use it and then ask for help when they have problems/questions. Problems/questions that are quite typically already answered/addressed in the documentation, had they bothered to take the time to read it. It's sad, really. :( -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: Do I have a looping issue?
Aaron Finerman wrote:
Fish wrote:So your claim is that hardware emulators shouldn't (or should not be allowed to) issue helpful messages? The fact that Hercules is a hardware emulator carries no weight in the argument. Hercules is a PRODUCT.Aaron Finerman wrote:Hercules is a hardware emulator, not an operating system.Hercules should not be in the business of reporting programWhy not? What is your reasoning? I'm sure you'll agree that products should be allowed to issue whatever messages they feel might be helpful to the user. Yes? And the fact that in this particular case YOU personally feel that the messages that Hercules is currently issuing are unhelpful to YOU (and therefore are not interested in seeing them) is immaterial IMO. Others may well feel differently. Which is why we have a configuration options the user can set to their liking. If you personally don't wish to see such messages, then feel free to configure your Hercules with OSTAILOR QUIET. According to the architecture, hardware's responsibilityWhich Hercules certainly does. Operating system would do the rest and if necessary produceAgain, does this mean hardware emulators are not allowed (or should not) issue helpful messages of their own as well? You don't see any program check messages on the z15 or zPDT consolesImmaterial. Hercules is not a z15 or zPDT. Hercules is Hercules. I meant why should Hercules ONLY report disabled waits and not ALSO unexpected program interrupts. :)In my days when the hardware loaded a disabled wait, an alarmIt should only report on a disabled wait condition, whichAgain, why? I think it's obvious Hercules should report disabled waits. The Hercules user, obviously. (Well, Hercules users other than YOU that is.)Again, back to this being an OS responsibility. Most operatingOSTAILOR is a useless option and should default to QUIET.Why? It's obvious that YOU certainly don't feel benefitted by them. But I'm sure there exists a non-zero subset of Hercules users out there who do however. Now, are there enough of them to justify NOT changing OSTAILOR's default to QUIET? I don't know. Unknown. But given that this particular feature has been a part of Hercules for over 20 years now and, as far as I know, this one specific particular version of MVS is the *only* one (that I am aware of) that seems to trigger these particular unwanted messages that you are complaining so loudly about, fails IMHO to justify suddenly changing the default OSTAILOR to QUIET. In fact, I feel the fact that the messages are being issued PROVES their usefulness! Their very issuance has brought to light what some feel is a serious shortcoming (or dare I say, bug) in MVS! Had the messages that you are currently complaining so loudly about NOT been issued, that fact would never have come to light. It is never a good thing to see illegitimate program check messagesThen fix your operating system to not cause illegitimate program checks! ;-) You are correct that if one were writing an OS this may come handy,That there's a problem in the operating system in question that should probably be fixed? :) -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: virtual memory and overlays
I don't have a solution to this problem, obviously, but I would like to ask some questions to understand the problem better.
toggle quoted message
Show quoted text
With respect to this: "where it first compiled cRexx on VM/370, now it does not" ... does the storage problem depend on the size or complexity of the source code being compiled? That is: does gcc on VM refuse to start, or does the error occur later during compilation? If, for example, gcc compiles simple programs and does not compile complex programs, the error could come from the non-availability of dynamic (free) storage used to store compiler lists, used to store variable names, attributes, offsets etc. If this was the case, then - of course - a reduction in module size by using overlay techniques would help ... or by issuing dynamic loads (and deletes) of compiler components which are not used together at the same time (but at different times during compilation, maybe by separating the preprocessor from the rest of the compilation or by separating the compiler passes from each other ... if there are multiple passes). AFAIK, the gcc compiler for VM is a simple port of gcc from other platforms, but nothing has been done to cope with the special requirements of the 16 MB restriction; gcc consists of one large load module where all calls are simple static calls (using V constants). I could imagine a much better solution, but improving this requires a deep knowledge of the overall gcc structure and a decision, which parts of gcc could maybe be transformed into seperately loadable "phases". If the gcc compiler does not have parts that run sort of separately from the rest and can be separated using LOAD / DELETE or LINK macros, then IMO all bets are off. Of course: gcc is written in C, but anyway: even C functions can be loaded (and removed) dynamically using the MVS macros mentioned above; I've done this in the past using IBMs C with C function pointers (by writing ASSEMBLER functions cload() and cdelete() usable from C, returning C function pointers). This is possible. But the hard part IMO is: to identify the parts of gcc where such a change makes sense and where it would help to reduce the overall gcc load module size. A function which is cload()ed from the rest of gcc must be linked together with all of its needed subfunctions, and in the best case it should not need subfunctions used in the rest of gcc ... otherwise the needed space for these subfunctions will double. That is: all the functions of gcc must be separated in several different sets of functions, which are complete (that is, don't need functions from another set) AND the different sets can be cload()ed step be step from a main section at different times. If this is accomplished, then the overall size used will be only the size of the largest set plus the size of the main section (and not the sum of all sections, as today). I don't know if this is possible. It is probably needed to analyse all the function calls first. HTH, kind regards Bernd Am 28.10.2022 um 17:51 schrieb rvjansen@...: Just a wild question here with regard to the compiler we need to use for cREXX. |
On Fri, Oct 28, 2022 at 02:00 AM, Mark A. Stevens wrote:
I don't know where XEDIT lives in memory, when invoked. Does putting it, or part of it in a DisContiguous Saved Segment (DCSS) hurt or help? Was it in the CMS DCSS since SP 1?Quote from page 348: System Product Editor Interface to Access Files in Storage |
The bREXX bug with literals in the parse template does not break running editor macros in general. If anybody knows of a XEDIT macro where this bug would change behaviour, I'd like to see it. I am sure there is always a way to program around this bug and I am confident to say this because of my experience on VM/SP 1+2.
Martin |
Re: Adding disks found in DMKRIO and CPEREP error
Hello Mark, Thank you for the link to the earlier message.? As for the 3270: : Now start the 3270 emulator. : Feel free to replace this with your preferred terminal emulation program. cd WC3270 start wc3270.exe -keymap 3270 -title "VM Login" Model5.wc3270 Bertram Moshier / WB8ERT On Fri, Oct 28, 2022 at 11:27 PM Mark A. Stevens via <marXtevens=[email protected]> wrote: 2) How do I copy and paste text from a 3270 screen to email without having it look so crappy.? Any thoughts?? Yeah, copy line by line, but ... |
Re: Adding disks found in DMKRIO and CPEREP error
On Fri, Oct 28, 2022 at 12:21 PM, Bertram Moshier wrote:
Can someone help me create the 3350 and 3380 drives on the Herc system?? I'm not sure of the command.? (If someone already answered this question, I apologize for mising it.)? The drives are:Rene gave an example in the following e-mail. I remembered reading it, and found it by searching via groups.io. /g/h390-vm/message/2601 I Hope This Helps ?... Mark |
On Fri, Oct 28, 2022 at 07:19 PM, Mike Gro?mann wrote:
BREXX in MVS 3.8j , and in VM/370 does not handle literals when you use PARSE ARG, or ARG. The problem was discussed in earlier e-mails: Rexx PARSE on VM/SP 5 behaves different from BRexx on VM/370 CE V1M1R1.1. /g/h390-vm/message/3843 Possible bug in BREXX parse instruction /g/h390-vm/message/3736 and issues have been opened in the following GitHub projects. PARSE errors when literal patterns used #8 BREXX PARSE errors with literals in the template #61 I Hope This Helps ?... Mark S. |
Re: Do I have a looping issue?
Hello!
toggle quoted message
Show quoted text
<Me wearing a worn looking wide brimmed hat that's also worn by Indy Jones and a long scarf with special color patterns> Aaron, ideally the things that the OSTAILOR instructions are properly documented, they are indeed Fish? The other problem is that how many of us are even aware of them? Me? I am not. <Now not wearing those.> Be careful Fish, there's a crab looking for you. ----- Gregg C Levine gregg.drwho8@... "This signature fought the Time Wars, time and again." On Fri, Oct 28, 2022 at 10:01 PM Aaron Finerman <arfinerman@...> wrote:
|
Re: Do I have a looping issue?
If OSTAILOR was meant to help in OS development (which I agree it could come handy) it would be perfected by addition of? EXT+?SVC+?PGM+?MCH+?commands to allow for tracing of all or selective codes. Best regards,? On Fri, Oct 28, 2022 at 7:04 PM Harold Grovesteen <h.grovsteen@...> wrote: On Fri, 2022-10-28 at 15:09 -0700, Fish Fish wrote: |
Re: Do I have a looping issue?
Fish wrote: > Hercules should not be in the business of reporting program > checks. >>>Why not? What is your reasoning? Hercules is a hardware emulator, not an operating system. According to the architecture, hardware's responsibility?is to store ILC and interrupt code, and swap psws. Operating system would do the rest and if necessary produce any messages.? You don't see any program check messages on the z15 or zPDT consoles (or any other real hardware).? > It should only report on a disabled wait condition, which > it does.>>>Again, why? In my days when the hardware loaded a disabled wait, an alarm went off in the machine room to notify the operators that the system went down. Nowadays I hear the status goes red on your HMC connected web browser. So, reporting on a disabled wait is always a good?idea. > OSTAILOR is a useless option and should default to QUIET. >>>Why? Again, back to this being an OS responsibility. Most operating systems display interrupt information or provide exits?to let the?application?handle the program check.? ? Personally, I like to know who actually benefits from this feature ? It is never a good thing to see illegitimate program check messages from your OS on the console. You are correct that if one were writing?an?OS this may come handy, But anyone who is doing this would know when you get an interrupt, the first thing you do is to save your registers and the old psw is already stored. So what is Hercules telling you that you don't know ? Best regards, ?? ? ? On Fri, Oct 28, 2022 at 6:09 PM Fish Fish <david.b.trout@...> wrote: Aaron Finerman wrote: |
Hey Mark, what do you mean by: ??BREXX still has a problem with parsing its command line, so that will be a challenge, in and of itself.¡° The error in the parse statement or any other issue? Mike Mark A. Stevens via <marXtevens=[email protected]> schrieb am Do. 27. Okt. 2022 um 20:00: On Thu, Oct 27, 2022 at 01:36 PM, Martin Scheffler wrote: --
Von Gmail Mobile gesendet |
Re: Do I have a looping issue?
On Fri, 2022-10-28 at 15:09 -0700, Fish Fish wrote:
Aaron Finerman wrote:From the purpose of someone who only runs a mature operating system, IOSTAILOR is a useless option and should default to QUIET. can understand this perspective. However,... Absolutely agree 100%! I am aware of activities by individuals in all of these areas. And can well understand when Hercules was being debugged, the usefulness of seeing all program interruptions until Hercules itself was reasonably well debugged. And then the "tailoring" made sense.
|
Re: Do I have a looping issue?
¿ªÔÆÌåÓýJoe, thank you for the explanation of WHY. ?While I worked many years as a systems programmer on MVS ?I was never an internals guy. ?My specialty was "networking" and related subsystems. ?Pretty much all of them. Yes, I see now how this is a perfectly normal thing for MVS to do. ?The recommendation to change the instruction from CS to something else would seem to be an improved implementation. ?I can see why this is happening so frequently, too. Again, thanks Joe, Harold On Fri, 2022-10-28 at 17:22 -0500, Joe Monk wrote:
|