Let's assume that 'n' patterns of input exist. Above we see two. Code 'n' number of OUTFIL statements, each with their own OUTREC constructs. Sorry I don't have an example to show but in the past I've seen many of what's being discussed. I've borrowed and taken advice from Sri K. and that's always proven to be the path of simplicity.
On Fri, Oct 9, 2020 at 1:21 PM Paul Gilmartin < [email protected]> wrote: > On Fri, 9 Oct 2020 13:02:26 -0500, Anthony B. wrote: > > >So create a second OUTFIL. > > > I don't understand what you're suggesting. Can you provide > details? I suspect that what Ron posted was not his entire input, > but other numbers of blanks might exist in a larger data set. > > >On Fri, Oct 9, 2020 at 11:43 AM 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 > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> 0000007762|FJAO PTO CAMIL |T1 1KG > >> > >> Hence , coding fixed length OUTREC will not solve the problem > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
