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
 

 

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 DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm


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