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
 
reduce running time of a jcl

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

New User


Joined: 10 Jul 2005
Posts: 58

PostPosted: Wed Sep 14, 2005 2:05 am    Post subject: reduce running time of a jcl
Reply with quote

Dear Frank,
Actually I need your advice.
Here is a quote of a jcl which processes over than 50 mio records.

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE PTRC.ITEMIZED.ESDS
DELETE PTRC.ITEMIZED.KSDS
DEFINE CLUSTER( -
NAME(PTRC.ITEMIZED.KSDS) -
INDEXED KEYS(32 0) -
RECORDSIZE(98 98) CISZ(16384) -
CYLINDERS(1000 100) -
) -
DATA( -
NAME(PTRC.ITEMIZED.KSDS.DATA) -
) -
INDEX( -
NAME(PTRC.ITEMIZED.KSDS.INDX) -
)
/*
//STEP2 EXEC PGM=IEFBR14,COND=EVEN
//ALLOC1 DD DSN=PTRC.ITEMIZED.ESDS,DISP=(,CATLG),
// RECORG=ES,LRECL=98,BLKSIZE=0,
// UNIT=3390,SPACE=(CYL,(1000,100))
/*
//STEP7 EXEC PGM=ICEMAN,PARM='SIZE=MAX',REGION=7M
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=PTRC.ITEMIZED.ESDS,DISP=SHR,BUFNO=200
//SORTOUT DD DSN=PTRC.ITEMIZED.KSDS,DISP=SHR
//SYSIN DD *
SORT FIELDS=(1,32,CH,A)
RECORD TYPE=F,LENGTH=98
OPTION FILSZ=E10000000,DYNALLOC=(WORK,18)
/*

I want to reduce running time of step7. What do you suggest ?

Thanks in advance.
hyuzen
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 Sep 14, 2005 3:20 am    Post subject: Re: reduce running time of a jcl
Reply with quote

I can't really comment on your question without seeing the DFSORT diagnostic messages for a successful run which requires adding the following to your job and rerunning it:

//SORTDIAG DD DUMMY

Assuming you're using DFSORT, if you want to send me a note offline (yaeger@us.ibm.com) early tomorrow morning with your JCL, control statements, JES messages and //SYSOUT messages, I'll forward it to a colleague who's actually better at performance and tuning than I am so she can take a look (I actually won't have any internet access after mid-morning tomorrow for about 10 days.) If you do e-mail me, please put "DFSORT" somewhere in your Subject line to catch my attention.
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 Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm

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