View previous topic :: View next topic
|
Author |
Message |
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
Hi, is there any option to print the ST page(screen) of the spool into a flat file , so i can parse all the data i want for my requirement, please anybody help me to code it in rexx |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You can print / extract any SDSF screen that is displayed - please search the forum for examples. |
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
Hi, i tried this piece of code but i dint get any output in the ISFOUT dd.
/*REXX*/
ADDRESS TSO
"ALLOC F(ISFIN) TRACKS SPACE(5) REU"
"ALLOC F(ISFOUT) NEW DELETE REU " ,
"TRACKS SPACE(100,100) LRECL(133) RECFM(F,B,A) DSORG(PS)"
QUEUE "OWNER *"
QUEUE "ST"
"EXECIO" QUEUED()" DISKW ISFIN (FINIS"
ADDRESS ISPEXEC "SELECT PGM(ISFAFD) PARM ('++32,255)"
EXIT |
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
I dont have the option to use ISFROWS to count the number of jobs in the spool, is there any other options to count the number of rows or number of jobs in the spool |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
awyn wrote: |
Hi, i tried this piece of code but i dint get any output in the ISFOUT dd.
"ALLOC F(ISFOUT) NEW DELETE REU " ,
"TRACKS SPACE(100,100) LRECL(133) RECFM(F,B,A) DSORG(PS)"
EXIT |
Hardly surprising as you have not givena dataset name in your allocation, so this will be treated as a temporary dataset and deleted. |
|
Back to top |
|
|
|