SORT Error Messages

All error messages are displayed in the following form:

<job number> SORT ERROR #<error number>

Fatal Error Messages contains the numbers for fatal error messages and an explanation of the possible errors.

Refer to Nonfatal Error Messages for nonfatal error messages.

Table 79. Fatal Error Messages

Error Number

Message, Cause, and Solution

1

RECORD SIZE ZERO. The record size specified was either equal to 0 or equal to or greater than 65.536. Specify the correct record size.

2

INPUT AND OUTPUT RECORD COUNTS DIFFER. The counts of sort input records and sort output records do not agree. Contact your Unisys field engineer.

4

SORT DISKEXHAUSTED DURING STRINGING. The sort disk was exhausted during the stringing phase, and no tapes were specified. Rerun the sort and specify more disk space.

6

INPUT FILE PASSED ALREADY OPEN. Input file passed to SORT was already open. Change the program so close the file before calling the sort routine.

7

UNMATCHED BLOCK NUMBER FROM TAPE INPUT. During a tape or ITD sort, the block number of the last record read from a sort work tape did not match the expected block number. Look for tape I/O error messages and rerun the sort routine. If the problem exists, contact your Unisys field engineer.

8

OUTPUT FILE PASSED NOT LARGE ENOUGH. The output file passed to SORT was not large enough to contain the output, and SORT was unable to expand the output file. Increase the size of the output file or decrease the number of records to be sorted.

9

OUTPUT FILE PASSED ALREADY OPEN. The output file passed to SORT was already open. Change the program so that it closes the file before calling the sort routine.

10

IRRECOVERABLE I/O ERROR ON WORKFILE READ. An irrecoverable I/O error occurred while the system was reading a sort work tape or work disk file. Look for I/O error messages, use a different disk or tape unit, and rerun the sort routine.

11

IRRECOVERABLE I/O ERROR ON WORKFILE WRITE. An irrecoverable I/O error occurred while the system was writing a sort work tape or work disk file. Look for I/O error messages, use a different disk or tape unit, and rerun the sort routine.

12

IRRECOVERABLE I/O ERROR ON CONTROL FILE. An irrecoverable I/O error occurred while the system was reading or writing control records in the sort control file. Look for I/O error messages, use a different disk or tape unit, and rerun the sort routine.

13

IRRECOVERABLE I/O ERROR ON USER OUTPUT FILE. An irrecoverable I/O error occurred while the system was writing your output file. Look for I/O error messages, use a different disk or tape unit, and rerun the sort routine.

14

IRRECOVERABLE I/O ERROR ON USER INPUT FILE. An irrecoverable I/O error occurred while reading your input file. Look for I/O error messages, use a different disk or tape unit, and rerun the sort routine.

15

RESTART RECORD SIZE DIFFERS FROM ORIGINAL. A restart was attempted, but the record size (or character size of the record) did not match the originating sort. When a restartable sort is not able to continue, it saves restart information so that this error occurs during subsequent restart attempts. You can either rerun the restart with the correct record or character size or rerun the original sort routine without the restart option.

16

USER INPUT FILE DIFFERENT AT RESTART TIME. The system attempted to restart, and your input file reached end-of-file (EOF) the system read the restart record. Your input file is shorter at restart time than the original file. Get the correct input file and run the restart again or use the program with a new input file and without the restart option.

17

UNABLE TO READ RESTART INFORMATION. A restart was attempted, but SORT was unable to obtain the necessary restart information from the control file. Check for I/O errors.

18

INPUT FILE HAS AN INDEXED FILE ORGANIZATION. CANNOT BE SORTED. The input file type is invalid. Files using the FILEORGANIZATION attribute with a value of INDEXED cannot be sorted by the SORT utility.

19

IRRECOVERABLE ERROR DURING RESTART. An irrecoverable error occurred while the system was reading the sort work file; the system had already passed some output records to your output procedure. This error occurs only for restartable sorts with output procedures. Because the sort is restartable, you should specify a restart so that the SORT utility can perform the necessary recovery.

20

DIRECT FILE USED AS INPUT. A direct file was used as an input file. Change the program so that it does not use a direct file declaration.

21

DIRECT FILE USED AS OUTPUT. A direct file was used as an output file. Change the program so that it does not use a direct file declaration.

22

INPUT FILE HAS VARIABLE LENGTH RECORDS. A variable record length file was used as an input file. The SORT utility cannot handle variable-length records.

23

OUTPUT FILE HAS VARIABLE LENGTH RECORDS. A variable record length file was used as an output file. The SORT utility cannot handle variable-length records.

24

SPECIFIED CORESIZE TOO LARGE. The memory size parameter, plus the current amount of save memory, exceeds the maximum amount allowed for save memory. Reduce the memory size parameter, or wait until the amount of save memory on the system is reduced.

25

SPECIFIED DISK SIZE EXCEEDS MAXIMUM DISK FILE SIZE. The disk size that you specified is larger than what is allowed. Reduce the specified disk size to a value less than 258,435,456 words.

27

SORT KEY GREATER THAN RECORD SIZE. The sort key that you specified is larger than the record size you specified in your program. Either change the specification for the sort key location and length to be within the record size or correct the record size.

76

INVALID UNIT TYPE. When SORT requested that an additional tape be loaded, a file on some medium other than tape was specified using the FA (File Attribute) system command. Rerun the program again and avoid using the FA command.

84

CONTROL FILE TOO SMALL. The control file is not large enough to contain all control records. This error is an internal sort error and can be circumvented by specifying more disk or a different memory size, or both.


The errors in Nonfatal Error Messages appear on the display like other sort error messages, but the SORT does not terminate as a result of these errors.

Table 80. Nonfatal Error Messages

Error Number

Message, Cause, and Solution

3

INSUFFICIENT MEMORY FOR MEMORY SORT. Insufficient memory was specified for a memory-only sort. If the SORTLIMITS option of the OPTION task attribute was set, SORT waits on an RSVP after issuing the message ENTER OK TO ALLOW SORT TO INCREASE MEMORY FROM xx TO yy where xx is the original (insufficient) core size and yy is xx plus the default core size. A response of OK causes SORT to expand the file and continue processing. A response of NOTOK causes SORT to terminate and display an error message. If the task attribute option SORTLIMITS was set to FALSE, normal error handling results in SORT being terminated.

5

SORT DISK EXHAUSTED DURING MERGING. Sort disk was exhausted during the merge phase, and no tapes were specified. If the SORTLIMITS option of the OPTION task attribute was set, SORT waits on an RSVP after issuing the message SORT FILE FILL = OK TO EXPAND SORT FILE BY xx SEGMENTS ON <pack name> where xx is the default core size and <pack name> is the name of the disk pack on which the sort file is located. A response of OK causes SORT to expand the file and continue processing. A response of NOTOK causes SORT to terminate and display an error message. If the task attribute option SORTLIMITS was set to FALSE, normal error handling results in SORT being terminated.

26

TOO MANY RECORDS FOR MEMORY SORT. DISK SORT WILL BE USED. Not enough memory is available for a memory sort. The system performs a disk sort instead.

30

CONTROL FILE NOT LARGE ENOUGH. The control file is not large enough to contain two copies of the control records. Two copies are maintained for sorts with error recovery. This error is an internal sort problem and can be circumvented by specifying more disk or a different memory size. SORT continues when this error occurs; however, the error recovery function is disabled.

31

I/O ERROR ON CONTROL FILE WRITE. An irrecoverable I/O error occurred while writing the control file for an error recovery sort. One copy of the control records is discarded, and SORT continues using one copy of the control records.

32

I/O ERROR ON WORK FILE WRITE. An irrecoverable I/O error occurred while writing the sort work file. Error recovery mode is abandoned, and SORT continues as a normal restartable sort.

33

WORKFILE TOO SMALL FOR ERR/REC. Insufficient disk space was provided for the work file to contain three copies of the data. This situation occurs only when error recovery mode is requested. SORT continues as a normal restartable sort with error recovery reset.

Unnumbered

RESTART ALLOWED ON DISK SORT ONLY–SORT IGNORED. A restart is not allowed on a disk sort. The sort procedure will proceed to do the entire sort from the beginning of the routine.

Unnumbered

INVALID CORESIZE GIVEN–WILL USE A DEFAULT OF 12000. You specified an invalid coresize. The program will use a default value.

Unnumbered

INVALID CORESIZE GIVEN–WILL USE A DEFAULT OF 75000. You specified an invalid coresize. The program will use a default value.