Since you only seem to be interested in the first 13 bytes of each record
, 
you could also try using the XEDIT Width option, i.e. XEDIT TXJIM FILELIS
T 
A (W 13  This will Xedit only the first 13 bytes of each record and will 

require a lot less virtual storage.  By default, Xedit trys to allocate a
 
buffer that is big enough to hold the longest record as well as all of th
e 
records in the file, (4920 * 169).  I have used this technique for files 

that have a few very large records that causes Xedit to attempt to 
allocate an extremely large buffer, when I am only interested in the firs
t 
72 bytes of each record, for example.

Dale R. Smith
Persona Non Grata

On Wed, 11 Jul 2007 15:08:19 -0400, Stracka, James (GTI) 
<[EMAIL PROTECTED]> wrote:

>I am trying to copy a file with the LRECL option to shorten it.
>
>e.g.
>
>Filename Filetype Fm Format Lrecl    Records
>TXJIM    FILELIST A0 V        169       4920
>
>COPYFILE TXJIM FILELIST A SORTER FILELIST A (LRECL 13
>
>I expected the result to be a file with LRECL 13 but it is:
>
>Filename Filetype Fm Format Lrecl
>SORTER   FILELIST A0 V        169
>
>I need to do this soon.  The file is too big to use XEDIT in a 2G
>machine.
>
>Anybody have a PIPE to do this.
>
>Note:  The real file is hexadecimal data, not text.
>
>Jim
>--------------------------------------------------------

Reply via email to