|
View previous topic :: View next topic
|
| Author |
Message |
jasorn Warnings : 1 Active User
Joined: 12 Jul 2006 Posts: 191 Location: USA
|
|
|
|
| Has anyone here used dfsort to create histograms? Is there a way to do this with dfsort. |
|
| Back to top |
|
 |
CICS Guy
Senior Member

Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
| What sort of histograms, like the 'HISTOGRM' program provided with Syncsort? |
|
| Back to top |
|
 |
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
jasorn,
If you talking about syncsort's Histogrm which displays statistics for VB records, then here is a DFSORT/ICETOOL job that will give you the desired results.
| Code: |
//Step0100 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=... input file (VB)
//RPT DD SYSOUT=*
//TOOLIN DD *
* List minimum, maximum, total and average record length in TOOLMSG.
STATS FROM(IN) ON(VLEN)
* Show the number of records with each length in RPT.
OCCUR FROM(IN) LIST(RPT) BLANK -
HEADER('Length') ON(VLEN) -
HEADER('Count') ON(VALCNT)
/*
|
|
|
| Back to top |
|
 |
|
|