SORT TERMINATED DUE TO NON-ZERO RETURN CODE - 16
Any ideas anybody ? The manual helpfully informs me that "SORT did not run successfully", thanks a bunch !
Thanks guys.
Easytrieve A045 SORT error...
-
- Posts: 278
- Joined: Thu May 15, 2008 9:45 pm
- Skillset: MVS
MQ
ISPF - Referer: sister site
Re: Easytrieve A045 SORT error...
I expect the SYSOUT messages from the sort step would have ample information as to the error.
Regards,
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Easytrieve A045 SORT error...
Hello and welcome to the forum,
When starting a topic, it is never a good idea to post "it didn't work". There is always more diagnostic info available somewhere and in order for someone to help, you need to provide that info.
When starting a topic, it is never a good idea to post "it didn't work". There is always more diagnostic info available somewhere and in order for someone to help, you need to provide that info.
Hope this helps,
d.sch.
d.sch.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Easytrieve A045 SORT error...
Hello,
Is this now working? If not and you provide some details we may be able to make suggestions.
If it is working, posting the solution may help someone at a later tijme. . .
Is this now working? If not and you provide some details we may be able to make suggestions.
If it is working, posting the solution may help someone at a later tijme. . .
Hope this helps,
d.sch.
d.sch.
-
- Posts: 1
- Joined: Tue May 19, 2009 9:04 pm
- Skillset: VSAM,COBOL,JCL,EASYTRIEVE,DB2
- Referer: FRIENDS
Re: Easytrieve A045 SORT error...
hi..
i m getting following error when trying to sort in the easytrieve program:
SORT TERMINATED DUE TO NON-ZERO RETURN CODE - 20
any ideas??
i m getting following error when trying to sort in the easytrieve program:
SORT TERMINATED DUE TO NON-ZERO RETURN CODE - 20
any ideas??
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Easytrieve A045 SORT error...
Hello and welcome to the forum.
For us to be able to help, you need to post some usable info.
There is most likely other diagnostic info somewhere in the output. There are also most likely informatoinal messages from the sort. You need to post these along with the message ids.
None.any ideas??
For us to be able to help, you need to post some usable info.
There is most likely other diagnostic info somewhere in the output. There are also most likely informatoinal messages from the sort. You need to post these along with the message ids.
Hope this helps,
d.sch.
d.sch.
-
- Posts: 15
- Joined: Fri May 22, 2009 1:26 pm
- Skillset: easytrieve, rexx, cobol, jcl
- Referer: mrinal solanki
Re: Easytrieve A045 SORT error...
I got the same issue for one of my easytrieve program.
you might find following line in your JCL LOG
+ICE158A 0 CNAXBSTU.CLDHSTU SYSOUT DD STATEMENT MISSING
if you look for ICE158A in QW you will find following details:
ICE158A SYSOUT DD STATEMENT MISSING
Explanation: Critical. Issued only to the master console to indicate
that ICEMAC option NOMSGDD=QUIT was used and a message data set was
required, but not specified. Corresponds to DFSORT return code 20.
System Action: The program terminates.
Programmer Response: Specify a DD statement for the message data set,
using the ddname specified by MSGDDN (if any) or SYSOUT.
my problem being a missed outstatment in my JCL step
try this out...it might as well work for you.
you might find following line in your JCL LOG
+ICE158A 0 CNAXBSTU.CLDHSTU SYSOUT DD STATEMENT MISSING
if you look for ICE158A in QW you will find following details:
ICE158A SYSOUT DD STATEMENT MISSING
Explanation: Critical. Issued only to the master console to indicate
that ICEMAC option NOMSGDD=QUIT was used and a message data set was
required, but not specified. Corresponds to DFSORT return code 20.
System Action: The program terminates.
Programmer Response: Specify a DD statement for the message data set,
using the ddname specified by MSGDDN (if any) or SYSOUT.
my problem being a missed out
Code: Select all
//SYSOUT DD SYSOUT=*
try this out...it might as well work for you.
-
- Posts: 15
- Joined: Fri May 22, 2009 1:26 pm
- Skillset: easytrieve, rexx, cobol, jcl
- Referer: mrinal solanki
Re: Easytrieve A045 SORT error...
One thing i didnt understand is that this problem is not consistent. The same job has run so many times in past without this missing sysout problem and now suddenly why did missing DD starts popping up???
Any words of wisdom will be highly appreciated...
Any words of wisdom will be highly appreciated...
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Easytrieve A045 SORT error...
Hello,
Most likely because something has changed and now the DD statement is needed.
or
Something caused the DD to be removed from the jcl. Someone thought they'd get rid of unneeded DD statements?
Most likely because something has changed and now the DD statement is needed.
or
Something caused the DD to be removed from the jcl. Someone thought they'd get rid of unneeded DD statements?
Hope this helps,
d.sch.
d.sch.
-
- Posts: 15
- Joined: Fri May 22, 2009 1:26 pm
- Skillset: easytrieve, rexx, cobol, jcl
- Referer: mrinal solanki
Re: Easytrieve A045 SORT error...
I am not sure about removal of DD statments but i did hear some one say that Easytrieve version was upgraded at our shop some time back. May be this issue in with that.
Thank you for your help,
Anjali
Thank you for your help,
Anjali
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 4480
-
by sergeyken
View the latest post
Sat Nov 11, 2023 3:01 am
-
-
Pass PARM from JCL to Easytrieve SQL WHERE clause
by MemoPerez » Tue Oct 24, 2023 8:32 am » in CA-Easytrieve - 2
- 3120
-
by MemoPerez
View the latest post
Fri Oct 27, 2023 1:13 am
-
-
-
COBOL SORT - How to sort entire file first & sort by Key
by k_ekam » Thu Dec 01, 2022 12:58 pm » in IBM Cobol - 3
- 1557
-
by Robert Sample
View the latest post
Wed Dec 07, 2022 7:32 am
-
-
- 1
- 1492
-
by sergeyken
View the latest post
Sun Oct 04, 2020 11:33 pm
-
- 7
- 4152
-
by jcdm
View the latest post
Tue Jul 25, 2023 11:57 am