View previous topic :: View next topic |
Author |
Message |
rahullimaye780@yahoo.com Beginner
Joined: 13 Dec 2007 Posts: 3 Topics: 3
|
Posted: Mon Dec 24, 2007 1:48 am Post subject: information about SORT-RETURN=20 error in cobol sort program |
|
|
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 |
|
 |
vivek1983 Intermediate

Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Mon Dec 24, 2007 4:02 am Post subject: |
|
|
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 |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Mon Dec 24, 2007 11:47 am Post subject: |
|
|
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 |
|
 |
|
|