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: 10211
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
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am


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