Hi Kolusu,

The idea with symbols looks interesting.  I haven't used them but from recent 
RTFM they felt attractive.
1.  As this is to be used in a tool for general usage it can be of any 
(reasonable possible to implement) format.
2.  No.  This (primary) problem case is for a "straight"  inrecord--->outrecord 
 transition.
3.  A (very) hypothetical example (regarding DCB it can be FB->FB, VB->VB, 
FB->VB, VB->FB, F->VB etc..):
(monospace font recommended)

Input:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
001aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb01ccccccccccccccccccccccccccccccdddddddd01
002aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb02ccccccccccccccccccccccccccccccdddddddd02
003aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb03ccccccccccccccccccccccccccccccdddddddd03
004aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb04ccccccccccccccccccccccccccccccdddddddd04
005aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb05ccccccccccccccccccccccccccccccdddddddd05
006aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb06ccccccccccccccccccccccccccccccdddddddd06
007aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb07ccccccccccccccccccccccccccccccdddddddd07
008aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb08ccccccccccccccccccccccccccccccdddddddd08
009aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb09ccccccccccccccccccccccccccccccdddddddd09
010aaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbb10ccccccccccccccccccccccccccccccdddddddd10

Output:
----+----1----+----2----+----3
bbbbbbbb01
bbbbbbbb02
bbbbbbbb03
bbbbbbbb04
bbbbbbbb05
006bbbbbbbb06
007bbbbbbbb07
008bbbbbbbb08dddddddd08
bbbbbbbb09dddddddd09
bbbbbbbb10

As I mentioned this problem is supposed to lead to a general solution/template 
to be used in a TSO/ISPF tool.
The tool is coded in REXX and used e g as a line command at ISPF 3.4 etc.  I 
intend to call DFSORT/ICETOOL from the program with customized control 
statements for each actual case.  Currently I do this with REXX EXECIO, stems 
etc.



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 Sri h Kolusu
> Sent: Wednesday, October 22, 2014 6:12 PM
> 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<mailto:IBM-MAIN@LISTSERV.UA.EDU>> wrote on
> 10/21/2014 10:54:39 PM:
>
> > From: Thomas Berg <thomas.b...@swedbank.se<mailto:thomas.b...@swedbank.se>>
> > To: IBM-MAIN@LISTSERV.UA.EDU<mailto: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<mailto: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<mailto: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<mailto: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