|
Hi Jim and Jim - >> I am sure you have thought of this but you could create a command and add >> it to the menu. By creating it yourself you could call it OFF or anything >> else you wanted. >as long as the menu hardcoded the lib to execute your cmd OFF, like >"mylib/off". >In a S36 environment, the system will execute the procedures 1st, before >checking commands. I even put it in QSYS. Still did procedure first. >Many of the S36 procedures can be modified (QSSP/QS36PRC), but not >OFF. Jim The problem is that OFF is a S/36 built-in command, not a procedure. It's like if you were trying to change the DEL command in DOS, you would have to patch COMMAND.COM. >Actually, on just about every menu we have on the system, option 24 is "Off". >I was hoping to change this command (thinking it was one of ours, not one of IBM's) in >one spot so that when anyone either typed "Off" or selected #24 from a menu it would >either ENDPASTHR or do a SIGNOFF. > >Apparently, it looks like this is not to be the case and I am going to have to modify every >single menu we have on the system (tons of them). > >Okay, next step, can anyone think of a way to kludge the S/36 environment to run my Off >command instead of the built in S/36 Off command? If this were a real S/36 or a M36, I would suggest the "patch COMMAND.COM" route. It's not called COMMAND.COM, but there is a program that contains the names of the built-in commands. It could be patched to rename OFF to XFF or something, which would then make OFF look for a procedure. Unfortunately, this being the S/36 environment, it would be difficult to find where OFF is stored, and probably even more difficult to change it. Your best bet, I think, would be to throw together something to change option 24 on your menus. I've done this in the deep, dark past, but I don't remember enough about S/36 menus anymore to tell you how, and we don't have the S/36EE installed anymore. But it is doable. Ken Southern Wine and Spirits of Nevada, Inc. Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.