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
 

 

how do we send the output of the program to dataset ?

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

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Wed Jan 25, 2006 3:47 am    Post subject: how do we send the output of the program to dataset ?
Reply with quote

Hi Friends,

how do we send the output of the program to dataset ?


Thank you,

Title Changed from "JCL" to "how do we send the output of the program to dataset ?" : Priyesh.
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Jan 25, 2006 4:01 am    Post subject: Re: JCL
Reply with quote

VENKATA999,

I?m going to make an assumption, and that?s usually a bad thing to do, that what you?re asking is how to send the SYSOUT/SYSPRINT to a dataset?


Currently you probably have something that looks like:
Code:

//SYSOUT   DD  SYSOUT=*
//SYSPRINT DD  SYSOUT=*


Change to:
Code:

//SYSOUT   DD  DSN=YOURID.PROGNAME.SYSOUT,
//             DISP=(NEW,CATLG,DELETE),
//             SPACE=(133,(10,10),RLSE),AVGREC=K,
//             RECFM=FBA,LRECL=133
//SYSPRINT DD  DSN=YOURID.PROGNAME.SYSPRINT,
//             DISP=(NEW,CATLG,DELETE),
//             SPACE=(133,(10,10),RLSE),AVGREC=K,
//             RECFM=FBA,LRECL=133


If this is not what you?re asking, please refine your question and come back,

Dave
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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