This is hard to resolve without knowing where the error is occuring,  It
could be something like ICE083A at the very beginning or it could be
running a while and getting ICE046A.  If you can get the sysout or at least
some of the messages, that would help.  For now I have a few
recommendaitons.

1. Instead of MAINSIZE=64M I would take the default of MAINSIZE=MAX and add
DSA=128.  The sort probalby won't use 128MB but DFSORT's dynamic storage
adjustment will determine the optimal amount of virtual storage to use and
won't be limited by the default DSA of 32.

2. We're sorting about 44GB here.  Assuming no use of Hiperspace or Memory
Object, you need to allocate at least that much space in the work files.
The number of work data sets you need will depend on your available disk.
The more work data sets you allocate, the less space you need available on
a single volume.  So right now with 20, you need 20 volumes that each have
at least 2.4GB available.  Actually more than that since DFSORT calculates
a work space requirement somewhat higher than the actual file size.  So
maybe you go up to 40 and see if that helps.

3. Since you specified an estimated file size, it's ok to leave it there.
If DFSORT can determine the files size of the input, it will use that
instead.  However, if it can't because this is a sort where records are
being passed by an E15 or the input is on something like unmanaged tape,
then you'll need that file size.




Have a nice day,
Dave Betten
DFSORT Development, Performance Lead
IBM Corporation
email:  [email protected]
1-301-240-3809
DFSORT/MVSontheweb at http://www.ibm.com/storage/dfsort/

IBM Mainframe Discussion List <[email protected]> wrote on
06/14/2012 03:32:38 PM:

> From: "Gibney, Dave" <[email protected]>
> To: [email protected],
> Date: 06/14/2012 03:33 PM
> Subject: DFSORT 180M recs
> Sent by: IBM Mainframe Discussion List <[email protected]>
>
> This is for a friend at another installation. I Sync rather than DF,
> so I'm not the best to answer the question. I have already asked for
> the error message detail :) I've also said to not use the FILSZ parm
> and let DFSORT figure it out.
>
> I am having trouble getting dfsort to sort 180,000,000 records.  I think
it
> is failing for a lack of space.  The records have an average length of
261
> bytes.  The key is the first 25 characters of the record and there should
be
> no duplicates.  The dfsort parms I have tried include:
>
> OPTION MAINSIZE=64M,DYNALLOC=(SYSDA,20),
> FILSZ=E180000000,AVGRLEN=261
>
> The DYNALLOC tells the sort to create 20 sortwork files.  Maybe I need to
> create 50 sortwork files?  FILSZ tells sort approximately how many
records
> are to be sorted  and sort is supposed to get the space it needs to do
it.
> If you were going to sort this in syncsort how would you do it?
>
> One idea I had was to break the main file up into 30 million record
groups.
> Sort those and then merge them back together into one file.  I haven't
tried
> that yet.  It seems like I should be able to sort the large number of
> records.
>
>
> Dave Gibney
> Information Technology Services
> Washington State University
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to