Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us