IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 0
No new posts Using API Gateway from CICS program CICS 0
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
Search our Forums:

Back to Top