I don't understand why the solution is so complex. If the spaces all line
up in fixed columns (I hope this assumption is correct), then simply coding
OUTRECs for each field non-blank would accomplish the desired output. I've
coded many hundreds of DF/SORT jobs and I don't see a degree of difficulty.
If I'm missing something obvious, I'll appreciate clarification.

On Thu, Oct 8, 2020 at 11:34 AM Paul Gilmartin <
0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Thu, 8 Oct 2020 10:46:00 -0500, Ron Thomas wrote:
> >
> >I have a sample file as below and we would need to remove the spaces
> >
> >0000000645|VHO CASILLERO DIABLO     |PINOT NOIR 750ML          |
> >    ...
> >i have coded as below
> >SORT FIELDS=COPY
> >INREC OVERLAY=(001:001,010,UFF,M10,LENGTH=10,
> >               012:012,025,UFF,M10,LENGTH=25,
> >               038:038,025,UFF,M10,LENGTH=25,
> >               001:001,2500,SQZ=(SHIFT=LEFT))
> >
> >but the output i am getting is as below
> >
> >645|0|750|CASILLERODELDIABLO|VHOCASILLERODIABLO|
> >    ...
> Where did the "DEL" come from?
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to