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

RLSE in SPACE Parameter


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
balubhat

New User


Joined: 04 Oct 2005
Posts: 19
Location: Singapore

PostPosted: Fri Nov 13, 2009 2:49 pm
Reply with quote

Hi

I am facing some problem with SPACE parameter in JCL.
I have job which reads the table and writes into a file. Number of records to be written is quite high almost 1 Million+.
We are using the SPACE parameter for the output file as

// UNIT=SYSDA,
// DISP=(,CATLG,CATLG),
// DCB=(LRECL=400,RECFM=FB),
// SPACE=(CYL,(300,100),RLSE)

And this job takes almost 20 hrs to complete. But when I run the same job without RLSE , the job completes within an hour.
Does RLSE has something to do with the performance of the JCL?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Nov 13, 2009 5:55 pm
Reply with quote

It is not very likely that RLSE has much to do with the performance of your job. I've never heard of it having an impact, and a job run time going from one hour to almost 20 hours would be an impact. Something else is going on that is causing the run time difference.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Nov 13, 2009 9:10 pm
Reply with quote

Hello,

One difference in the 2 runs was probably the traffic on the system when they were run.

To read some data from a database and write a million or so sequential records should take a few minutes - not hours (depending on how the query performs). If the query(ies) are poorly written for the database or the database is not properly defined, run times are more sensitive to additional traffic on the database.

None of this is related to RLSE.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
Search our Forums:

Back to Top