IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REXX to print the ST page(screen) of the spool


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Sun Sep 14, 2008 1:39 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Sep 14, 2008 1:41 pm
Reply with quote

You can print / extract any SDSF screen that is displayed - please search the forum for examples.
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Mon Sep 15, 2008 10:35 am
Reply with quote

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
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Mon Sep 15, 2008 2:01 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Sep 15, 2008 3:47 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top