I am trying to sort a variable length file using an internal cobol sort. I am using IBM COBOL running on an AIX platform. I am getting this message:
The SORT-RETURN special register was never referenced, but the current content indicated the sort or merge operation in program SRT231 on
line number 338 was unsuccessful. The sort or merge return code was 9.
Message routine called from offset 0x940 of routine _iwzSortMerge.
The file is defined in the following manner:
SELECT SORT-FILE-OUT
ASSIGN TO SYS020
ORGANIZATION IS SEQUENTIAL
ACCESS IS SEQUENTIAL
STATUS IS SORT-FILE-OUT-STATUS.
SD SORT-FILE
RECORD CONTAINS 112 TO 14907 CHARACTERS
DATA RECORD IS SORT-REC.
The SORT-RETURN special register was never referenced, but the current content indicated the sort or merge operation in program SRT231 on
line number 338 was unsuccessful. The sort or merge return code was 9.
Message routine called from offset 0x940 of routine _iwzSortMerge.
The file is defined in the following manner:
SELECT SORT-FILE-OUT
ASSIGN TO SYS020
ORGANIZATION IS SEQUENTIAL
ACCESS IS SEQUENTIAL
STATUS IS SORT-FILE-OUT-STATUS.
SD SORT-FILE
RECORD CONTAINS 112 TO 14907 CHARACTERS
DATA RECORD IS SORT-REC.