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

How to retrieve Sort or Merge control statement


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

New User


Joined: 08 Aug 2006
Posts: 10
Location: FRANCE

PostPosted: Wed Apr 16, 2014 3:10 pm
Reply with quote

We want to carry out an history of all the Sort or/and Merge control statements used on our production Jobs.
This will help us to remove many same sortings.
I don't see this information on the SMF record 16.

Is there somebody who already had this rquirement ?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Apr 16, 2014 3:53 pm
Reply with quote

Why do you think control cards would be recorded in SMF records?

You have all the source statements somewhere. You have all the source statements, with translation if required (for symbols), in the sysout for each step.

Might it not be better to approach this in a different way? Find largest datasets, and use your Scheduler to following them through? Then, while investigation what it is of that process that you can automate, you also get some payback from the largest files first.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Apr 16, 2014 9:07 pm
Reply with quote

Quote:
This will help us to remove many same sortings.


do you mean that you are sorting the same files repeatedly,
or
do you mean that you have duplicate SORT control cards?

the last seems logical.

i wrote a rexx that submitted a compare of every sort control parm library member to every other member.
then parsed the results with a rexx, #input1 = #input2 = matches.

after the first run to remove duplicates (and modify all necessary JCL)
I used the 'tool' to run a compare of any new control cards to the existing library.

used the same approach to 'clean-up' other utility parm libraries.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top