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 Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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