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

to get o/p in a data set rather in spool


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandeep.tikoo

New User


Joined: 07 Oct 2006
Posts: 6
Location: Bangalore

PostPosted: Mon Oct 09, 2006 6:48 pm
Reply with quote

icon_exclaim.gif how to get o/p in a data set rather in spool
Back to top
View user's profile Send private message
DavidatK

Active Member


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

PostPosted: Mon Oct 09, 2006 7:12 pm
Reply with quote

Instead of:

Code:

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


Assign a dataset:
Code:

//SYSPRINT DD DSN=MY.SYSOUT.DATASET,
//     DISP=(,CATLG,CATLG),
//     SPACE=(133,(1000,1000),RLSE),AVGREC=U,
//     RECFM=FBA,LRECL=133
//SYSOUT DD DSN=MY.SYSOUT.DATASET,
//     DISP=(,CATLG,CATLG),
//     SPACE=(133,(1000,1000),RLSE),AVGREC=U,
//     RECFM=FBA,LRECL=133


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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top