IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Using dfsort to create a histogram


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 191
Location: USA

PostPosted: Tue Feb 12, 2008 8:16 pm
Reply with quote

Has anyone here used dfsort to create histograms? Is there a way to do this with dfsort.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 12, 2008 9:41 pm
Reply with quote

What sort of histograms, like the 'HISTOGRM' program provided with Syncsort?
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Tue Feb 12, 2008 10:44 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts DFSORT Join Keys Controlcard DFSORT/ICETOOL 4
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Create a FTP record with help of SYNC... SYNCSORT 3
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
No new posts How can I add/create a new INIT(initi... TSO/ISPF 2
Search our Forums:


Back to Top