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: 7315

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: 6967
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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