View previous topic :: View next topic
|
Author |
Message |
as4578
New User
Joined: 24 Jun 2010 Posts: 12 Location: China
|
|
|
|
I want to run some JES2 commands and give the results back to REXX.
As I investigated in this forum,I try to call a external service with
ADDRESS ISPEXEC " SELECT PGM(ISFISP) PARM('LOG')", but it jumps to the SDSF panel and I can't get what I want.
I expect to save the results in a var (like using CALL OUTTRAP "TRAP." to save the results in TRAP).
For example.
In SDSF => LOG
/$D Job 'jobname',STATUS,CC=CODE
In REXX
what can I do to get the results?
Could anyone help me?
Thank you.
----------------------------------------
By the way, is there any command to hold the REXX for a while?
Just like WAIT, SLEEP,etc.. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
If you have z/OS V1R9 then you could try using the SDSF Interface (see this IBM Redbooks) |
|
Back to top |
|
|
as4578
New User
Joined: 24 Jun 2010 Posts: 12 Location: China
|
|
|
|
Marso,
Thanks very much.
Is there any command to hold the REXX for a while?
Just like WAIT, SLEEP,etc.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Most organizations will cancel tasks that do this. . .
If you need to have this run periodically, run it in batch via the system schedule.
There is no good reason to have this "permanently" tie up system resources. . . |
|
Back to top |
|
|
as4578
New User
Joined: 24 Jun 2010 Posts: 12 Location: China
|
|
|
|
It seems reasonable.
Thanks all. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome - good luck
d |
|
Back to top |
|
|
|