INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

(FOC909)

(FOC909)

(OP)
I have searched this (and other) information repositories, and have yet to come up with a solution that resolves this external sort error message:

ERROR AT OR NEAR LINE 316 IN PROCEDURE XXXXXXXX FOCEXEC     
(FOC909)CRITICAL ERROR IN EXTERNAL SORT.RETURN CODE IS: 0016

This message occurs on a sort statement:

PRINT              
      BP2          
      IC2          
      AR2          
      DP2          
      RA2          
      FF2          
      RI2          
      PP2          
      FD2          
      LD2          
      AC2          
BY    BP2 NOPRINT  
BY    IC2 NOPRINT  
BY    AR2 NOPRINT  
ON TABLE HOLD AS S2
END       
         
I use SYNCSORT; system is z/OS Version 1 Release 9; on IBM Z890.

I have tried increasing extents,

using S001WKS instead of SORTWKS,
 
using S001WKS AND SORTWKS,

added ESTRECORDS = 10000000 and various lower rec amaounts.

I now have the following SETs in my program:

SET HIPERFOCUS = OFF  
SET AUTOPATH   = ON   
SET EXTSORT    = ON   
SET BINS       = 60   
SET WIDTH      = 132

and presently have the following space allowances:

//FOCSORT   DD UNIT=SYSDA,SPACE=(CYL,(125,25),RLSE)     
//FOCSTACK  DD UNIT=SYSDA,SPACE=(TRK,(25,25),RLSE)      
//SORTWK01  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//SORTWK02  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//SORTWK03  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//SORTWK04  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//SORTWK05  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//SORTWK06  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//SORTWK07  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//SORTWK08  DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//*                                                     
//S1        DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//S2        DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      
//S3        DD UNIT=SYSDA,SPACE=(CYL,(25,25),RLSE)      

This is our standard setup for external sorting.

There are about 100,000 records involved.

Any help with this would be appreciated.

Thx,

Joe
  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close