Thomas, I do think it is possible to reformat the selective data using symbols from various positions of the record. Are we dealing with FB file or VB files ? Regarding the concatenation of data, do you always want to combine 2 records data into a single record? It would be great if you can show us a sample data and desired output with the DCB properties of the input and output files. Thanks, Kolusu DFSORT Development
IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> wrote on 10/21/2014 10:54:39 PM: > From: Thomas Berg <thomas.b...@swedbank.se> > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 10/21/2014 10:56 PM > Subject: DFSORT/ICETOOL pondering > Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> > > Sometimes I have a need to do a selective copy of a dataset where > the selection is both record sequence and record position/part dependent. > And by that I mean the record part/position is varying depending on > which record it's about. > An example (yes, it looks silly): > > I want to copy position 31 to 40 of all records but from record 8 > and 9 I want to copy also (concatenate) position 71 to 80 and from > record 6 to 8 I also (concatenate in "front") want to copy position 1 to 3. > The point of this example is to illustrate the needs of a more > general solution. > > I can see the use of the SUBSET (ICETOOL) for record selection but > how do you user DFSORT/ICETOOL to solve the combining record and > varying position needs ? > I now use a homegrown program for this but it's lacking efficiency > to say the least and I'm looking at DFSORTs efficiency and speed. > > I have been looking at OUTFIL/OUTREC etc. but I can't see a straight > forward and general solution/"template". > I'm hoping for someone who have done this before to supply an example. > > > > Best Regards, > Thomas Berg > ___________________________________________________________________ > Thomas Berg Specialist zOS/RQM/IT Delivery Swedbank AB (Publ) > > ---------------------------------------------------------------------- > 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