Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10327
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: 6968
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us