Easytrieve A045 SORT error...

Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool
Dick here
Posts: 2
Joined: Tue Jan 27, 2009 5:01 pm
Skillset: Cobol, Easytrieve
Referer: Google search

Easytrieve A045 SORT error...

Postby Dick here » Tue Jan 27, 2009 5:05 pm

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.

Bill Dennis
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Skillset: MVS
MQ
ISPF
Referer: sister site

Re: Easytrieve A045 SORT error...

Postby Bill Dennis » Tue Jan 27, 2009 8:03 pm

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.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: Easytrieve A045 SORT error...

Postby dick scherrer » Wed Jan 28, 2009 5:41 am

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.
Hope this helps,
d.sch.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: Easytrieve A045 SORT error...

Postby dick scherrer » Thu Jan 29, 2009 10:28 am

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. . .
Hope this helps,
d.sch.

rachnay_82
Posts: 1
Joined: Tue May 19, 2009 9:04 pm
Skillset: VSAM,COBOL,JCL,EASYTRIEVE,DB2
Referer: FRIENDS

Re: Easytrieve A045 SORT error...

Postby rachnay_82 » Tue May 19, 2009 9:09 pm

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??

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: Easytrieve A045 SORT error...

Postby dick scherrer » Wed May 20, 2009 12:04 am

Hello and welcome to the forum.

any ideas??
None.

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.

anjali_b
Posts: 15
Joined: Fri May 22, 2009 1:26 pm
Skillset: easytrieve, rexx, cobol, jcl
Referer: mrinal solanki

Re: Easytrieve A045 SORT error...

Postby anjali_b » Fri May 22, 2009 1:39 pm

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 out

Code: Select all

 //SYSOUT DD SYSOUT=*
statment in my JCL step
try this out...it might as well work for you.

anjali_b
Posts: 15
Joined: Fri May 22, 2009 1:26 pm
Skillset: easytrieve, rexx, cobol, jcl
Referer: mrinal solanki

Re: Easytrieve A045 SORT error...

Postby anjali_b » Fri May 22, 2009 1:43 pm

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...

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: Easytrieve A045 SORT error...

Postby dick scherrer » Fri May 22, 2009 2:27 pm

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?
Hope this helps,
d.sch.

anjali_b
Posts: 15
Joined: Fri May 22, 2009 1:26 pm
Skillset: easytrieve, rexx, cobol, jcl
Referer: mrinal solanki

Re: Easytrieve A045 SORT error...

Postby anjali_b » Mon May 25, 2009 9:01 am

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


  • Similar Topics
    Replies
    Views
    Last post