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
 
DFSORT - Overriding default option TUNE=STOR

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: DFSORT - Overriding default option TUNE=STOR
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: 86
Location: India

PostPosted: Tue Apr 04, 2017 6:56 pm    Post subject:
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    Post subject:
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: 86
Location: India

PostPosted: Tue Apr 04, 2017 7:30 pm    Post subject:
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    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 Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm

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