Try adding the following lines to your test exec after the ISFCALLS statement :
Rc=ISFQUERY("INIT")
Say "Prefix="isfprefix " Owner="isfowner " Dest="isfdest " JES="isfjesname
This will show you the contents of the special variables that are active.
Prefix, Dest and Owner settings being different from expectations explains most
of the issues with "no rows" using SDSF REXX.
Note that when a SDSF REXX is invoked via the "%" action, the values of these
variables are inherited from your current SDSF session, however if the exec is
executed outside of a current SDSF session (eg from option 6 (TSO)), then these
values reflect the defaults assigned from the SDSF group and security rules.
Rob Scott
Rocket Software
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Phil Smith III
Sent: 03 May 2022 16:47
To: [email protected]
Subject: Re: SDSF - ISPF questions (wishes?)
EXTERNAL EMAIL
Lionel and I have been communicating about his very nice SDSFXDD, because it
wasn't working for me.
For me it only finds jobs whose jobname starts with your userid. If I have jobs
in O queue:
NP JOBNAME JobID Owner Prty C Forms Dest Tot-Rec
PHS1 JOB04436 PHS 144 A STD LOCAL 7
PHS1 JOB04436 PHS 144 A STD LOCAL 1,094
VSH1 JOB04440 PHS 144 A STD LOCAL 7
VSH1 JOB04440 PHS 144 A STD LOCAL 1,094
and I create a trivial test program:
/* REXX */
trace r
arg j
rc=isfcalls('ON')
address SDSF "ISFEXEC ST" j
say 'RC from ISFEXEC ST' j 'was' rc';' jname.0 'jobs found'
Run against VSH1 it finds nothing; against PHS1 it works (finds the job).
Meanwhile, if I do ST VSH1 in SDSF, I see:
NP JOBNAME JobID Owner Prty Queue C Pos
VSH1 JOB09766 RAW 1 PRINT A 58
VSH1 JOB09767 RAW 1 PRINT A 59
VSH1 JOB09768 RAW 1 PRINT A 60
VSH1 JOB09769 RAW 1 PRINT A 61
VSH1 JOB09781 RAW 1 PRINT A 62
VSH1 JOB09782 RAW 1 PRINT A 63
VSH1 JOB04440 PHS 1 PRINT A 101
It isn't getting confused by those other jobs, because if I run XYZZY and then
try my trivial test (or SDSFXDD) against that, I get nothing as well. I did
think I had seen something at one point that said "Jobnames starting with PHS"
but now I can't find wherever that was.
Anyone know what's going on here? Our system is very vanilla, no fancy
exits/program products beyond RACF involved here.
...phsiii
----------------------------------------------------------------------
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