IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DFSORT - Overriding default option TUNE=STOR


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Steve Ironmonger

New User


Joined: 19 Oct 2015
Posts: 15
Location: UK

PostPosted: Tue Apr 04, 2017 3:54 pm
Reply with quote

Hi,

we have an issue with one of our Cobol programs that calls DFSORT, I'm not a cobol programmer so I don't really understand what the issue is....the guy whos investigating it says :-

basically they have made the main stoarage handling super ace including 64K , but our programs are address mode 24 , so because its forced to use the main storage, when there is more than 16mb of data in its internal sort file the job abend S0C3 cause it cant address over 16mb with AMODE 24

The programmer is asking if there is any way to change TUNE= default parameter ?

Code:
OPTIONS: OVFLO=RC0 ,PAD=RC0 ,TRUNC=RC0 ,SPANINC=RC16,VLSCMP=N,SZERO=Y,RESET=Y,VSAMEMT=Y,DYNSPC=256         
OPTIONS: SIZE=62914560,MAXLIM=1048576,MINLIM=450560,EQUALS=Y,LIST=Y,ERET=ABEND,MSGDDN=SYSOUT               
OPTIONS: VIO=N,RESDNT=ALL ,SMF=NO   ,WRKSEC=Y,OUTSEC=Y,VERIFY=N,CHALT=N,DYNALOC=N             ,ABCODE=MSG 
OPTIONS: RESALL=4096,RESINV=0,SVC=109 ,CHECK=Y,WRKREL=Y,OUTREL=Y,CKPT=N,COBEXIT=COB2                       
OPTIONS: TMAXLIM=62914560,ARESALL=0,ARESINV=0,OVERRGN=16384,CINV=N,CFW=Y,DSA=0                             
OPTIONS: VLSHRT=N,ZDPRINT=Y,IEXIT=N,TEXIT=N,LISTX=N,EFS=NONE    ,EXITCK=S,PARMDDN=DFSPARM ,FSZEST=N       
OPTIONS: HIPRMAX=OPTIMAL,DSPSIZE=MAX ,ODMAXBF=0,SOLRF=Y,VLLONG=N,VSAMIO=N,MOSIZE=MAX                       
OPTIONS: NULLOUT=RC0                                                                                       
OPTIONS: DYNAPCT=10 ,MOWRK=Y,TUNE=STOR,EXPMAX=MAX    ,EXPOLD=0      ,EXPRES=10%                           


I've tried

Code:
//DFSPARM  DD    *                       
  PARM TUNE=STOR                         
/*                                       


But I get the following :-
Code:
ICE060I 0 INVALID DFSPARM  PARAMETER                             


Any help would be appreciated.

Cheers

Steve
Back to top
View user's profile Send private message
Abid Hasan

New User


Joined: 25 Mar 2013
Posts: 88
Location: India

PostPosted: Tue Apr 04, 2017 6:56 pm
Reply with quote

Hello,

IIRC, TUNE parameter cannot be overridden via DFSPARM.
If a change is indeed required to be made to this, then it has to be done through ICEPRMxx members in the site PARMLIB.

A more detailed discussion is provided in the Customizing DFSORT section of the 'DFSORT Installation and Customization' guide.

But to summarize, it CAN NOT be overridden from JCL; and what you're looking for probably is TUNE=OLD; a site admin can help you identifying the site PARMLIB (from past experience some sites customize this).

Hope this helps.
Back to top
View user's profile Send private message
Steve Ironmonger

New User


Joined: 19 Oct 2015
Posts: 15
Location: UK

PostPosted: Tue Apr 04, 2017 7:20 pm
Reply with quote

ok, so if TUNE can't be changed in JCL and changing it in the Site PARMLIB isn't a feasible option, do you have any suggestions to get round the issue ?

Basically, we need to force the job to use sortwork rather than memory.

thanks

Steve
Back to top
View user's profile Send private message
Abid Hasan

New User


Joined: 25 Mar 2013
Posts: 88
Location: India

PostPosted: Tue Apr 04, 2017 7:30 pm
Reply with quote

Hello,

I'd leave it to DFSORT experts to answer this query in detail as they'd have more experience with this.

Though, from past experience what you can do is:
a. Restrict memory usage by putting in control over MOSIZE/HIPRMAX; this can be managed through DFSPARM
b. Add a decent sized DYNALLOC value - word of caution --> before you override this, would recommend that you do have someone look at the defaults, AND visit the DFSORT manual to understand how the changed values will behave; DFSORT guide has a good chapter on calculation of work-space
c. Simply, add the SORTWK DD statements to the JCL; if they are present, IIRC, they are allocated to DFSORT (by JCL rules they are allocated during run-time in any case; but DFSORT refers them as well; usage to a higher degree is governed by the restriction on the MOSIZE workspace, which is requested to be limited as per point-a)


Lastly, please do perform regression testing with a fairly large dataset (read At Least a few million records and a large RECL), and various combinations of MOSIZE/HIPRMAX and work dataset allocation; because it does tend to vary site-to-site.

Hope this helps.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
No new posts DFSORT GUID DFSORT/ICETOOL 5
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top