View previous topic :: View next topic
|
Author |
Message |
sbxjld
New User
Joined: 15 Apr 2009 Posts: 3 Location: tervuren
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
google for REXX SDSF REDBOOKS |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
sbxjld
New User
Joined: 15 Apr 2009 Posts: 3 Location: tervuren
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
|