On Fri, 9 Oct 2020 11:43:44 -0500, Ron Thomas wrote:

>Anthony - The file has data as below also
>
>0000000657|VHO TRIVENTO RESERVA     |MALBEC 750ML
>0000007762|FJAO PTO CAMIL           |T1 1KG
>0000007762|FJAO PTO CAMIL           |T1 1KG
>    ...
>Hence , coding fixed length OUTREC will not solve the problem
>
Hmmm.  I see that DFSORT lately supports regular expressions.
In a POSIX shell, I'd use "sed 's/  */ /g'".  Can DFSORT regular
expressions do something similar?  (I tested the sed command
on Ron's example.)

(Or just use sed called by BPXWUNIX.)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to