Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to retrieve Sort or Merge control statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: How to retrieve Sort or Merge control statement
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7255

PostPosted: Wed Apr 16, 2014 3:53 pm    Post subject: Reply to: How to retrieve Sort or Merge control statement
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us