Well, under SP1.3 the PC routines ran PASN<>HASN, one of the restricted modes (I don't recall if there were PC-CP routines)
On Thu, 12 Sep 2024 12:44:07 +0000 Richard Zierdt <[email protected]> wrote: :>Thank you and Binyamin for your explanations. :> :>Here's the source of my (mis)understanding: the book "MVS Power Programming" published 1992 by McGraw-Hill, J. Ranade IBM Series, page 211, chart comparing PC routines to SVC routines: "PC Routines - Cannot issue SVC instructions except ABEND." To be complete, the section is entitled "Program Call Routines" and states: "The following discussion applies to the PC instruction in ESA." If a "No PC-SVC" restriction existed in ESA, then removed for z/OS, that would be a major change in behavior. :> :>Again, thanks for explaining where SVCs can be called. Richard Zierdt :> :>________________________________ :>From: IBM Mainframe Discussion List <[email protected]> on behalf of Peter Relson <[email protected]> :>Sent: Thursday, September 12, 2024 8:08 AM :>To: [email protected] <[email protected]> :>Subject: Re: PC - SVC restriction ? :> :>This Message Is From an External Sender :>This message came from outside your organization. :> :> :><snip> :>PC routines are not supposed to issue SVCs as I understand it. :>However, WTO and WAIT work (for me, in my single user environment). :>Has the PC - no SVC restriction been relaxed, or opened up to particular SVC types? :></snip> :> :>The "supposed to" is not correct. No restriction has ever existed. :> :>What has always existed is that you can only (successfully) issue an SVC if in an environment where an SVC is allowed: :>task mode, enabled for interrupts, no locks held, no EUT FRRs, primary = home = secondary. :>If your PC target (or any routine for that matter) is in that environment, you can issue an SVC and it will make its way to the SVC target routine, otherwise you can't (the abend SVC can be considered an exception). :> :>The environments for issuing any service should be clearly documented as part of the documentation for that service. :> :>Peter Relson :>z/OS Core Technology Design :> :> :>---------------------------------------------------------------------- :>For IBM-MAIN subscribe / signoff / archive access instructions, :>send email to [email protected] with the message: INFO IBM-MAIN :> :> :>Confidentiality Warning/Avertissement de confidentialité: :> :>This message is intended only for the named recipients. This message may contain information that is privileged or confidential. If you are not the named recipient, its employee or its agent, please notify us immediately and permanently destroy this message and any copies you may have. Ce message est destiné uniquement aux destinataires dûment nommés. Il peut contenir de l'information privilégiée ou confidentielle. Si vous n'êtes pas le destinataire dûment nommé, son employé ou son mandataire, veuillez nous aviser sans tarder et supprimer ce message ainsi que toute copie qui peut en avoir été faite. :> :>---------------------------------------------------------------------- :>For IBM-MAIN subscribe / signoff / archive access instructions, :>send email to [email protected] with the message: INFO IBM-MAIN -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
