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
 

 

What is the use of OPTIONSIZE,MODS in SORT CARD

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

Active User


Joined: 04 Oct 2006
Posts: 118
Location: NJ, USA

PostPosted: Wed Apr 04, 2007 11:29 pm    Post subject: What is the use of OPTIONSIZE,MODS in SORT CARD
Reply with quote

Hi,
I have a sort job which is using maximum CPU time and we are looking for tuning options. THe sort card is given below. Can someone explain me 1) What is the use of OPTIONSIZE,MODS etc...the portion highlighted in RED below

Is there is any way I can modify this sort card to have much better performance?

OPTION SIZE=E15000000,DSPSIZE=0,CINV,
NOEQUALS,NOVERIFY,NOWRKSEC,COBEXIT=COB2,
EFS=NONE,MAINSIZE=128M,DYNALLOC=(SYSDA,32)


SORT FIELDS=(11,9,A,27,7,A),FORMAT=CH
SUM FIELDS=(34,8,PD,42,8,PD,50,8,PD)

MODS E35=(NSM015B,1024,STEPLIB,C)
END

Pls help.
Thanks,
Viji
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Apr 04, 2007 11:39 pm    Post subject:
Reply with quote

If you're using DFSORT, you can look up all of the control statements and options yourself in "z/OS DFSORT Application Programming Guide" which you can access from:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html

You're using a COBOL E35 exit that somebody in your site supplied. That could possibly be a CPU hog depending on what it's doing and how it's coded.

SIZE=E15000000 gives DFSORT an estimate of the number of records to be sorted. If DFSORT is accessing the input file directly, it can determine the number of input records and the estimate will be ignored. If DFSORT is not accessing the input file directly, and this value does not give a good estimate of the number of records, then it should be changed to give a good estimate.
Back to top
View user's profile Send private message
vijikesavan

Active User


Joined: 04 Oct 2006
Posts: 118
Location: NJ, USA

PostPosted: Thu Apr 05, 2007 12:12 am    Post subject: Re: What is the use of OPTIONSIZE,MODS in SORT CARD
Reply with quote

Thanks for the reply Frank.
yes it exits to a cobol program. The cobol program just divides 2 amount fields by 100.
Not sure why they are doing this division in COBOL program.
The cobol pgm just checks for non-numeric and non-zero value before doing the division by 100. I feel I can replace that in DFSORT itself.

Please post me with your suggestions if you have any.
Thanks,
Viji
Back to top
View user's profile Send private message
Alain Benveniste

New User


Joined: 14 Feb 2005
Posts: 88

PostPosted: Thu Apr 05, 2007 1:31 am    Post subject: Re: What is the use of OPTIONSIZE,MODS in SORT CARD
Reply with quote

Dfsort is able to add, sub, mul, div or mod.

Alain
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Apr 05, 2007 2:08 am    Post subject:
Reply with quote

Quote:
The cobol pgm just checks for non-numeric and non-zero value before doing the division by 100.


Depending on what exactly the COBOL E35 is checking for and computing, you can probably eliminate the COBOL E35 and do it directly with DFSORT instead. This may or may not reduce the CPU time. If you can explain what exactly the COBOL E35 is doing (i.e. What is the position, length and format of the two amount fields? What exactly is meant by "checks for non-numeric and non-zero value"?) then I can probably show you how to do it directly with DFSORT. That might be a good first step.

Quote:
I have a sort job which is using maximum CPU time


What exactly do you mean by this? What is the "maximum CPU time"?

Quote:
We are looking for tuning options


That would require an analysis of how the job is currently running. Are you using DFSORT (ICExxxs messages)? If so, can you add:

//SORTDIAG DD DUMMY

to the job and rerun it? You could send me the JES and //SYSOUT messages offline (yaeger@us.ibm.com) and I could take a look. Put "DFSORT" somewhere in your Subject line to catch my attention.

Note that if you're not using DFSORT, I can't help you.
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. 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
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


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