Showing results for 
Search instead for 
Do you mean 

SORTLIB

Occasional Visitor

SORTLIB

Customer has been running an MPE/ix 7.5 system for years.He has made some business process changes and now i have one job which fails. It run a program and produces an output file.
Job now fails with
SORTLIB: SIZE OF SCRATCHFILE IS TOO SMALL

How do I make it bigger ?
Error log attached


2 REPLIES
Honored Contributor Honored Contributor

Re: SORTLIB

Hello Chris,

If this is a Native Mode Sort/XL, the SORT scratch area uses 2 scratch files HPSORTS1 and HPSORTS2; to increase the scratch area, you'll need to set up 2 file equation for HPSORTS1 and HPSORTS2. Refer to the SORT-MERGE/XL General User's Guide available at
http://docs.hp.com/en/32650-90883/index.html

On chapter 6 INPUT command, there are good discussions on scratch files.
King is the customer!
Highlighted
Esteemed Contributor Esteemed Contributor

Re: SORTLIB

Hi,
you have to enlarge the size of the files HPSORTS1 and HPSORTS2:
file HPSORTS1;disc=1000000
file HPSORTS2;disc=1000000
Hth,
Art