Sortlib: ERROR NUMBER -7 (130 Views)
Reply
Occasional Advisor
Tony Girgenti
Posts: 19
Registered: ‎06-04-2003
Message 1 of 7 (130 Views)

Sortlib: ERROR NUMBER -7

Hello.

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.

Thanks,
Tony
Please use plain text.
Valued Contributor
Glenn A. Mitchell
Posts: 73
Registered: ‎10-20-1996
Message 2 of 7 (130 Views)

Re: Sortlib: ERROR NUMBER -7

I'm a little confused. Are you using the COBOL SORT verb or are you using the SORT intrinsic calls (SORTINIT, SORTINPUT, etc) or are you invoking SORT.PUB.SYS as a process?

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?

Glenn


Please use plain text.
Trusted Contributor
Masatake Hanayama
Posts: 72
Registered: ‎12-23-1996
Message 3 of 7 (130 Views)

Re: Sortlib: ERROR NUMBER -7

http://docs.hp.com/en/32650-90080/32650-90080.pdf
SORT-MERGE/XL Programmer's Guide

A. HPSORT Intrinsic Status Returns

-7
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.
Please use plain text.
Occasional Advisor
Tony Girgenti
Posts: 19
Registered: ‎06-04-2003
Message 4 of 7 (130 Views)

Re: Sortlib: ERROR NUMBER -7

Hello.

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.

Thanks,
Tony
Please use plain text.
Honored Contributor
Kwan Fong, Emile
Posts: 1,162
Registered: ‎07-10-2000
Message 5 of 7 (130 Views)

Re: Sortlib: ERROR NUMBER -7

It would be helpful to know if the feedback you are getting is what you want. That's what the points are for.
King is the customer!
Please use plain text.
Occasional Advisor
Tony Girgenti
Posts: 19
Registered: ‎06-04-2003
Message 6 of 7 (130 Views)

Re: Sortlib: ERROR NUMBER -7

Hello Emile.

I'm not sure of what your reply is. Are you saying that i should reply and indicate if the problem is resolved?

Thanks,
Tony
Please use plain text.
Trusted Contributor
Masatake Hanayama
Posts: 72
Registered: ‎12-23-1996
Message 7 of 7 (130 Views)

Re: Sortlib: ERROR NUMBER -7

Tony,

Emile says that you had better assign points to the responses to your question.
Please use plain text.
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