HP3000-L Archives

July 2007, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Matthew Perdue <[log in to unmask]>
Reply To:
Matthew Perdue <[log in to unmask]>
Date:
Fri, 27 Jul 2007 04:21:26 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Quoting Marianne <[log in to unmask]>:

> Hi!
>
>Is this abort issue only happens if the sort file size is not larger enough to
>handle the number of records? But why is it that even if I dynamically assign
>the sort file size to the dataset's capacity, I still get that abort issue?
>By the way the dataset I said is where I get the records for sorting. I think
>it would be impossible that the number of records exceeds the capacity of the
>data set? Could there be other reason for this abort issue? :-)
>
>I'm really clueless since I'm just new in HP3000/Cobol.
>Please.. I'm really looking forward for someone who can reply and
>knowledgeable about this.
>
>Thank you so much!


The sort file needs more space than the exact number of records in the dataset,
or possibly in your case the dataset's capacity. I'd suggest having at least
20% more space available, more if you have the disc space.

Some sort routines need a large work space during the sorting process and of
course not all sort routines are using the same algorithm.

As an example in a job that will sort 1 million records I put the sort work file
at 9 million. Overkill perhaps, but then I never wanted to deal with this
particular job aborting from a lack of sort space again, and it's been at least
seven years since the job last aborted.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2