Re: SDSF Rexx and Output queue

2009-04-17 Thread Visser, Hans (PinkRoccade Infrastructure Services Technisch Specialist)
Lizette,

Is tsrec on the ST panel what you are looking for?

/ REXX /
/**/
/*TRACE R */
/**/
  rc = ISFCALLS('ON')   
/**/
  isfprefix = 'TC49*'   
/**/
  ADDRESS SDSF  
/**/
  "ISFEXEC ST (ALTERNATE DELAYED)"  
/**/
  DO jidx=1 TO jname.0  
 SAY tsrec.jidx 
  END   
/**/
  rc = ISFCALLS('OFF')  
/**/
  RETURN
/**/

Regards, Hans

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Lizette Koehler
Sent: donderdag 16 april 2009 18:36
To: IBM-MAIN@bama.ua.edu
Subject: SDSF Rexx and Output queue

I am writing my first SDSF REXX program.  The process is suppose to go to 
specific output queues and get the tot-recs for each job.  If I find a job is 
GT 500,000 lines, then I will need to modify the printer to accept it, then put 
the printer back.

While reading the documentation I did not see that there was the total record 
count that I could retrieve.  Perhaps I am being to narrow in my understanding 
in SDSF/REXX.

Is it possible to do what I want?  Or do I need to use the batch SDSF job and 
then just parse the information that way?

Thanks

Lizette

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


SDSF Rexx and Output queue

2009-04-16 Thread Lizette Koehler
I am writing my first SDSF REXX program.  The process is suppose to go to 
specific output queues and get the tot-recs for each job.  If I find a job is 
GT 500,000 lines, then I will need to modify the printer to accept it, then put 
the printer back.

While reading the documentation I did not see that there was the total record 
count that I could retrieve.  Perhaps I am being to narrow in my understanding 
in SDSF/REXX.

Is it possible to do what I want?  Or do I need to use the batch SDSF job and 
then just parse the information that way?

Thanks

Lizette

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html