MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cobol Internal Sort

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
edkir98
Beginner


Joined: 27 Aug 2007
Posts: 102
Topics: 42
Location: Chennai

PostPosted: Tue Apr 29, 2008 9:18 am    Post subject: Cobol Internal Sort Reply with quote

How do I increase the SORTWORK space in a COBOL program. The output is written to an IAM file?
_________________
Thanks
Back to top
View user's profile Send private message Yahoo Messenger
jyoung
Beginner


Joined: 10 Nov 2005
Posts: 36
Topics: 2
Location: Flint, MI

PostPosted: Thu May 01, 2008 8:48 am    Post subject: Reply with quote

You would do it through your JCL. Here is a example:
Code:

//SORTWK01 DD UNIT=&WORK,                   <--- SORT WORK SPACE
//         SPACE=(CYL,(10),,CONTIG)                         
//SORTWK02 DD UNIT=&WORK,                   <--- SORT WORK SPACE
//         SPACE=(CYL,(10),,CONTIG)                         
//SORTWK03 DD UNIT=&WORK,                   <--- SORT WORK SPACE
//         SPACE=(CYL,(10),,CONTIG)                         


I have ten cylinders per sortwork area specified here.
Back to top
View user's profile Send private message
jyoung
Beginner


Joined: 10 Nov 2005
Posts: 36
Topics: 2
Location: Flint, MI

PostPosted: Thu May 01, 2008 8:50 am    Post subject: Reply with quote

The parm - &WORK is for the value SYSDA.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group