Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Use REXX inside SDSF ? (a la ISPF Edit macro)
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Thu Apr 16, 2009 6:44 pm    Post subject: Reply to: Use REXX inside SDSF ? (a la ISPF Edit macro)
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    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Thu Apr 16, 2009 10:46 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts SDSF and SAF security danik56 TSO/ISPF 3 Wed Mar 15, 2017 12:51 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us