Hi,
I am trying to convert the DCOLLECT type "D" record fields  DCDDSORG and
DCDRECRD from its bits to a meaningful display (PS and VB, for instance). I
am using OUTREC IFTHEN=(WHEN=(
I have been reading the DFSORT Application Programming Guide but I have not
been finding what I need. As far as I can tell, as soon as one of the
IFTHEN=(WHEN is met, all the others are ignored. So, how do I test
different positions on a INREC/OUTREC statement?
Your help will be, as always, greatly aprecciated
Jack

On Fri, 23 Sept 2022 at 09:24, Mike Schwab <mike.a.sch...@gmail.com> wrote:

> Yes.  There are Unpack field types to do this.
>
> On Fri, Sep 23, 2022 at 2:59 AM Jack Zukt <jzuk...@gmail.com> wrote:
> >
> > Hi all,
> >
> > I have a rexx that reads a DCOLLECT output, processes the type "D"
> records
> > and creates a file with a list of datasets that have over 200 extents.
> As I
> > am using a SORT between the DCOLLECT and the rexx in order to have only
> the
> > type "D" records, I was wondering if it would be possible to process the
> > DCOLLECT output with DFSORT and get the same result.
> > My output file has this layout::
> >
> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----
> > Data Set Name                                Org     Alloc      Used
> Perc%
> > #Extn  Lrecl RFM  Blksz
> > PROD.FILE.WORK                                PS  24423325   6105811
> 100.0%
> >  8599    452  FB  27572
> > Thank you all for any suggestions
> > Regards
> > Jack
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>
> --
> Mike A Schwab, Springfield IL USA
> Where do Forest Rangers go to get away from it all?
>
> ----------------------------------------------------------------------
> 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