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

Use REXX inside SDSF ? (a la ISPF Edit macro)


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

New User


Joined: 15 Apr 2009
Posts: 3
Location: tervuren

PostPosted: Thu Apr 16, 2009 6:41 pm
Reply with quote

Hi,

I know it is possible to call SDSF from a REXX exec.
But I would like to know if it is possible to intercat with SDSF (screens), from a REXX macro, to automate some tasks.
The code would be executed on a SDSF job command line for instance, to save the entire job JES stream, file it to a "timestamped" PDS, and send it by email, in a single command.
I used to do similar things in ISPF edit screen with ISREDIT macros, and I am really interested to know if the same is today possible from within SDSF ?

Thank you for any information,
Jean-Louis
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Apr 16, 2009 6:44 pm
Reply with quote

google for REXX SDSF REDBOOKS
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Apr 16, 2009 7:08 pm
Reply with quote

before you get to lost with your searches.

It is REXX EDIT Macro

and REXX SCRIPT

REXX Edit Macros can only be invoked within a VIEW or EDIT session,
you can invoke an edit session in SDSF, but only on one DSID at a time.
Back to top
View user's profile Send private message
sbxjld

New User


Joined: 15 Apr 2009
Posts: 3
Location: tervuren

PostPosted: Thu Apr 16, 2009 7:29 pm
Reply with quote

my problem is solved.

Dick,

Thank you for your help - it seems now that it is not possible to code rexx macros that would work similarly to REXX EDIT (isredit) macros, but using your tip (EDIT job using the command "SE" from within SDSF), I have been able to use my own ispf edit macro to send email, and do whatever action is required.

Jean-Louis
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Apr 16, 2009 10:46 pm
Reply with quote

A tiny correction for Dick's comment: Edit macros can be invoked againsT EDIT, VIEW, EDIF & VIIF sessions.

Using the SE command in SDSF invokes the EDIF service.

o.
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