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

Split output to different logs or destination on mainframe


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
MIMI
Warnings : 1

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Thu Feb 02, 2006 1:25 am
Reply with quote

Please tell me how to split SAS output to different logs or destination on mainframe.

If I run sas on mainframe, usually I got log for all of informaiton. But I would like the log1 for all of job stream, the log2 only for result of report.
So I can only print log2 if job not abended.


MiMi Thank you very much!!!
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Feb 02, 2006 1:48 am
Reply with quote

Use the PROC PRINTTO to direct output to a new DD.

For example,

PROC PRINTTO UNIT=01;

directs the output to the DD FT01F001.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Techm mainframe deveoper 6 to 12 year... Mainframe Jobs 0
No new posts using symbolics in the destination fi... All Other Mainframe Topics 12
No new posts Mainframe Storage Needed Mainframe Jobs 0
No new posts REXX/CMS How to place command console... CLIST & REXX 4
Search our Forums:


Back to Top