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
 

 

Question in DFSORT.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
passion_sujesh

New User


Joined: 14 Mar 2008
Posts: 74
Location: India,Chennai

PostPosted: Mon Jul 30, 2012 10:04 pm    Post subject: Question in DFSORT.
Reply with quote

Hi,
I am trying to fine tuning couple of jobs. Both these jobs sort a same file which consumes lot of CPU. Can you let me know, is it possible to club the two sort step into one sort step (using OUTFIL/FNAMES)

sort step1 in job xxx:

Code:
//step00 exec  pgm=sort
//sortin dd dsn=xxx.xxx.xxx,disp=shr
//sortout dd dsn=xxx.xxx.yyy,disp=shr
//sysin dd *
      sort fields=(15,1,CH,A,5,4,CH,A,11,2,CH,A)
/*
//SYSOUT  DD SYSOUT=*


sort step2 in job YYY:

Code:
//step00 exec  pgm=sort
//sortin dd dsn=xxx.xxx.xxx,disp=shr
//sortout dd dsn=xxx.xxx.zzz,disp=shr
//sysin DD *
      sort fields=(20,5,CH,A)
/*
//SYSOUT  DD SYSOUT=*

required sort step:

Code:
//step00 exec  pgm=sort
//sortin dd dsn=xxx.xxx.xxx,disp=shr
//dd1 dd dsn=xxx.xxx.yyy,disp=old
//dd2 dd dsn=xxx.xxx.zzz,disp=old
//sysin DD *
      ???????????
/*
//SYSOUT  DD SYSOUT=*

Can you please let me know is it possible to merge both the sort step into one?

Thanks in advance....
Back to top
View user's profile Send private message

Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Mon Jul 30, 2012 10:13 pm    Post subject:
Reply with quote

passion_sujesh

The 2 steps are sorting on different fields and they canNOT be combined. If you want fine tune jobs, you need to run the both steps specifying //SORTDIAG DD DUMMY on both steps and show us the COMPLETE Sysout.
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 get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts DFSORT sorting only specific records akodakka DFSORT/ICETOOL 4 Thu Aug 04, 2016 11:24 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


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