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

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 Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am


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