IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Execute secondary panel of sdsf with rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mox512

New User


Joined: 04 Feb 2024
Posts: 17
Location: united arab emirates

PostPosted: Tue Feb 06, 2024 12:22 pm
Reply with quote

I want to read secondary panel with rexx. for example execute st.time or end.time that exist in secondary panel. this rexx code can Execute primary panel but cant Execute secondary panel. how can I change it?

/*REXX*/
RC=ISFCALLS('ON')
ADDRESS SDSF "ISFEXEC ST"
IF RC<>0 THEN
EXIT RC
FL1 = WORD(ISFCOLS,3) /* ST - START TIME */
SAY "NUMBER OF ROWS RETURNED:" ISFROWS
/* PROCESS ALL ROWS */
DO IX=1 TO ISFROWS
CURRENTJOBNAME = VALUE(FL7"."IX)
STIME = VALUE(FL1"."IX) /* FETCH START TIME */
SAY "START TIME:" STIME
END
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Feb 06, 2024 3:12 pm
Reply with quote

I think www.ibm.com/docs/en/zos/2.1.0?topic=execs-list-job-data-sets gives an example of what you're trying to achieve.

Garry.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top