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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 7 Thu Jun 29, 2017 1:41 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm


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