The only time isfquery() comes into consideration is if your rexx can be issued 
from the SDSF NP column against a row on the current SDSF table.
You do this by prefixing the exec name with a % character. You normally have to 
expand the NP width to do this (use ARR ? to drive popup panel, or issue a + in 
NP).

It sounds like your exec does not do that , so you can safely ignore isfquery().

If you omit ISFCALLS("OFF") then the rexx host environment will exist until 
task termination (which may follow very soon after the "exit" statement in your 
exec depending on how it was invoked).

Unbounded ISFCALLS gives me an eye-twitch , but that is my problem I suppose.




Rob Scott

Rocket Software

________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Thursday, May 5, 2022 6:13:12 PM
To: [email protected] <[email protected]>
Subject: Re: SDSF - ISPF questions (wishes?)

EXTERNAL EMAIL





On Thu, 5 May 2022 16:06:25 +0000, Rob Scott wrote:
>.   ...
>ISFQUERY() provides the ability to detect if the current task is already 
>connected to SDSF and it can inherit the current session environment data.
>
I'm confused and very naive.  Long ago I wrote a SDSF
API Rexx exec to extract spool files, based on (its comments):
   See (strangely enough):

   Document Number SA22-7670-11

   #12.0 "z/OS V1R10.0 SDSF Operation and Customization"
    12.0 Using SDSF with the REXX programming language

Alas, that chapter appears not to exist in the current doc.

It's agnostic: operating alike from UNIX shell, IRXJCL,
or as an Edit macro from the command line of an SDSF
display.  In the last case it finds the job ID by parsing
ZSCREEN (Pedro Vera's suggestion -- is there a better
way?)

It uses ISFCALLS(ON) but no ISFCALLS(OFF) (should
I expect something bad on that account?)

Lots of ADDRESS SDSF; no ISFQUERY() nor
CONNECT.  Am I missing out on much?  Is this running
"under SDSF" or otherwise?

--
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


================================
Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to