Thomas,

This is what I do to capture *any line range* from a SYSOUT being currently 
populated:

//SDSFBTCH EXEC PGM=SDSF                                               
//ISFOUT   DD  SYSOUT=*                                                
//PRINTFL  DD  SYSOUT=*,DCB=RECFM=VB  [or point to a FILE] 
//ISFIN    DD  *                                                       
PRE <job-name>                                                           
OWNER                                                                  
ST                                                                     
FIND <job-name>                                                          
++?                                                                    
FIND <dd-name for SYSOUT>                                                       
     
++S                                                                    
PRINT FILE PRINTFL                                                     
PRINT <from-line-number>  <to-line-number                                       
           
/*                                                                     
//                                                                      

HTH,
-Victor-

=========================
Is there any possibility to duplicate the output to SYSOUT to another 
Ddname/DSname in realtime ?
I want to follow the execution by inspecting the output but at the same time 
save it for processing in a following step.
Preferably by JCL means.



Regards,
Thomas Berg

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to