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 

information about SORT-RETURN=20 error in cobol sort program

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


Joined: 13 Dec 2007
Posts: 3
Topics: 3

PostPosted: Mon Dec 24, 2007 1:48 am    Post subject: information about SORT-RETURN=20 error in cobol sort program Reply with quote

hi friends,
i am gating sort-return=20 error in cobol sort program I have given compiler option also(fastsrt) ,during compilation and run program gives maxcc=0 but in output file not consist sorted output how to solve this error ?and why this error code come ?


regards
rahul
Back to top
View user's profile Send private message
vivek1983
Intermediate


Joined: 20 Apr 2006
Posts: 222
Topics: 24

PostPosted: Mon Dec 24, 2007 4:02 am    Post subject: Reply with quote

rahullimaye780@yahoo.com,

Well... the reasons may not be vivid unless u post the error messages and the piece of code that performs the sort.
_________________
Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Mon Dec 24, 2007 11:47 am    Post subject: Reply with quote

If 20 is the return code passed back from sort, then it means the sort message data set ddname was not found. The default ddname is SYSOUT, but it could have been changed to a different ddname for the program in various ways. You need to determine the ddname that's needed and supply a DD statement for it.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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