The correct way to determine whether you are in SDSF is presumably ISFQUERY; definitely not SUBCOM.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Phil Smith III [[email protected]] Sent: Wednesday, May 4, 2022 8:12 PM To: [email protected] Subject: Re: SDSF - ISPF questions (wishes?) Shmuel wrote: >From z/OS 2.5 TSO/E REXX Reference, SA32-0972-50: >"You can use the SUBCOM command in REXX execs that run in any address space, TSO/E or non-TSO/E. >That is, SUBCOM is available from the TSO and MVS host command environments." Oh. Well, Rob had written: >When invoked outside of SDSF, as your example shows, it returns a non-zero return code to indicate that it is not been invoked from SDSF NP %. >The reason for this is that users can code rexx that can be called from both environments and can take decisions based on the RC. So I guess I'm suggesting that this is not the correct way to determine whether you're "in" SDSF. But it sounds like his original, well-meant suggestion to add the ISFQUERY call is just plain not useful for this case, alas. Darn. I was hoping to be able to find out what the settings were, and for Lionel's utility to be able to display them. So it's a big "nevermind"! ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
