01-06-2006 04:27 AM
MPE /iX Release C.60.00 on 928RX.
Using COBOL II to call intrinsic sort.pub.sys.
Turbosort yielding "SORTLIB: ERROR NUMBER -7".
Does anyvody know what this error is ?
How do i find these errors in the knowledgebase ?
Any help would be greatly appreciated.
01-06-2006 12:49 PM
I assume the error message is printing on $STDLIST? Most regular sort errors are covered in the first volume of the error message manual (docs.hp.com), but I find no reference to SORTLIB errors.
What v.u.f of SORT/XL and MPE/iX are you running?
01-09-2006 11:19 AM
SORT-MERGE/XL Programmer's Guide
A. HPSORT Intrinsic Status Returns
MESSAGE The scratch file cannot be opened.
CAUSE A common cause of this problem is that there is not enough
contiguous disk space available for the scratch file.
ACTION Compare the size of the file to be sorted with the available contiguous
disk space. Purge or archive files to tape as necessary.
12-27-2007 11:27 AM
Thanks to both Mastake and Glenn for their replies.
I'm using the SORT.PUB.SYS in a job stream. It really has nothing to do with COBOL. I'm sorry for misleading you.
I will research trying to get more contiguous disk space for the sort.