Hi Alfred,

You can look at the answers I gave Elardus and Kolusu for the example data. 
1. I'm not sure if I understand your question exactly, this (primary) problem 
case is for a "straight"  inrecord--->outrecord  transition
2. Not necessarily.  I'm out for a general solution.



Best Regards,
Thomas Berg
___________________________________________________________________ 
Thomas Berg   Specialist   zOS/RQM/IT Delivery   Swedbank AB (Publ)


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Alfred Cole
> Sent: Wednesday, October 22, 2014 8:45 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: DFSORT/ICETOOL pondering
> 
> Thomas,
> 
> In the example that you stated,
> 1. are the records apart of a set of records
> 2. does each record have a unique identifier and sequence key.
> 
> If so, the you could extract records 8 and perform a specific operations and
> then resort the records back into the record set.
> 
> 
> 
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On
> Behalf Of Sri h Kolusu
> Sent: Wednesday, October 22, 2014 11:12 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: DFSORT/ICETOOL pondering
> 
> 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
> 
> ----------------------------------------------------------------------
> 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