SORTLIB (256 Views)
Reply
Occasional Visitor
chris holland_3
Posts: 1
Registered: ‎01-20-2006
Message 1 of 3 (256 Views)

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


Honored Contributor
Kwan Fong, Emile
Posts: 1,162
Registered: ‎07-10-2000
Message 2 of 3 (256 Views)

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!
Esteemed Contributor
Arturo Galbiati
Posts: 830
Registered: ‎02-10-2003
Message 3 of 3 (256 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.