Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can we move the SYSOUT to ouput spool as well to a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ayappanb
Warnings : 1

New User


Joined: 22 Feb 2007
Posts: 24
Location: Chennai

PostPosted: Tue Oct 30, 2007 5:51 pm    Post subject: Can we move the SYSOUT to ouput spool as well to a dataset
Reply with quote

Hi,

In one STEP can we move the SYSOUT to ouput spool as well as to a dataset

If yes, please help me in solving the problem

My requirement

//step01 ......
//....
//SYSOUT dd sysout=*
//SYSOUT dd dsn= file
//
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Tue Oct 30, 2007 5:54 pm    Post subject: Reply to: Can we move the SYSOUT to ouput spool as well to a
Reply with quote

No, you can't. It will require two steps - one to copy to the dataset, then one to copy the dataset to SYSOUT.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Tue Oct 30, 2007 9:04 pm    Post subject:
Reply with quote

Several years ago, I was at a client where we had a subsys that would do this, but I cannot remember what it was called.
Back to top
View user's profile Send private message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Mon Nov 05, 2007 12:21 pm    Post subject:
Reply with quote

There is one way i think , you can use XDC command in the output spool and print the spool info to a dataset icon_rolleyes.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Nov 05, 2007 12:42 pm    Post subject: Reply to: Can we move the SYSOUT to ouput spool as well to a
Reply with quote

Quote:
...subsys that would do this,...


Usually all the sysout archival systems have an option for
direct printing and archiving...

But if the poster needs to define his own dataset naming the only way is a
two step approach..

Code:
//SYSOUT DD DSN=some_dataset_name,....

//PRINT EXEC PGM=IEBGENER
//...
//SYSUT1 DD DSN=some_dataset_name,....
//SYSUT2 DD sysout=*,.....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us