Reorg gets SORT CAPACITY EXCEEDED
search cancel

Reorg gets SORT CAPACITY EXCEEDED

book

Article ID: 260569

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

Receiving SORT CAPACITY EXCEEDED messages out of my REORG jobs.

 

Environment

Release : 19.0

Resolution


SORTWK files are allocated by your sort package or within your JCL. The message you're getting is from the sort and not from REORG.
If you don't code your own SORTWK files explicitly, the sort will do it; but if you don't specify SORTSIZE=ON in the reload step's SYSIDMS file, the sort isn't going to know how much SORTWK to allocate. 
So there are a couple of things you can do to resolve this:
1- Add the SORTSIZE=ON to your SYSIDMS; or
2- Explicitly code SORTWK files in the JCL if you haven't already done so. 

  

Additional Information

Here is the doc for the SORTSIZE parameter.