Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us