Re: Can't sort variable length records using mfsort
- From: "Rick Smith" <ricksmith@xxxxxxx>
- Date: Tue, 16 Jan 2007 12:30:57 -0500
"ari" <unikoski@xxxxxxxxx> wrote in message
news:1168964899.292481.225690@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am evaluating the use of microfocus' mfsort under linux.
I created a variable length file with a cobol program as follows:
[snip]
RECORD IS VARYING IN SIZE FROM 1 TO 32760[snip]
The programs runs happily, and creates a file called VBFILE with the
128 byte header as described in microfocus documentation.
I then try and sort the file using mfsort - I tried doing:
mfsort use VBFILE ORG SQ RECORD V,1,100 GIVE out.out RECORD V,1,100
and got the following error message:
SORT013U: I/O error on dataset 'VBFILE'
SORT014U: Status = 9/139
SORT020U: SORT(EXTSM) failed - sort engine status = 9/139
I have tried lots of variations on the command, but to no avail - all I
ever get is the above message. What am I doing wrong?
The record size doesn't match the file.
I ran it using MFSORT under DOS and, while
I got it to run the results were confusing, because
the output file was shorter than the input.
I broke it into three parts:
USE VBFILE RECORD (V,1,32760)
GIVE OUT
SORT FIELDS (1,100,CH,A)
.
- Follow-Ups:
- Re: Can't sort variable length records using mfsort
- From: Rick Smith
- Re: Can't sort variable length records using mfsort
- References:
- Prev by Date: Question re FUNCTION SECONDS-FROM-FORMATTED-TIME
- Next by Date: Re: Question re FUNCTION SECONDS-FROM-FORMATTED-TIME
- Previous by thread: Can't sort variable length records using mfsort
- Next by thread: Re: Can't sort variable length records using mfsort
- Index(es):