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

RLSE in temp & SORTWKXX files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manojkumar.sesuraj

New User


Joined: 15 Apr 2009
Posts: 43
Location: Mumbai

PostPosted: Mon Dec 07, 2009 4:03 pm
Reply with quote

Hi,
I used SORT step in my job. I defined the SORTWK files like,
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,30)
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,30)

I didn't use RLSE in SPACE. Will it occupy more DASD storage when it run?

Here, what is the use of RLSE? If I ll declare like SPACE=(CYL,30,RLSE) then what is the diff it will make?

Please correct me If Im wrong, RLSE is used to release the reaminig space in flat files.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 07, 2009 4:46 pm
Reply with quote

Check the sysout from the run. I think that you will find that because you have not coded a DISP parameter the temp files will be deleted at end of step, the same time as the RLSE parameter would be actioned, so in effect it would not use extra space.

However, as the system setup may vary, you need to check your own sysout to see what happens.
Back to top
View user's profile Send private message
manojkumar.sesuraj

New User


Joined: 15 Apr 2009
Posts: 43
Location: Mumbai

PostPosted: Mon Dec 07, 2009 5:57 pm
Reply with quote

Thanks Expat...
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Mon Dec 07, 2009 11:25 pm
Reply with quote

RLSE is most useful for files that will remain beyond end-of-job. This saves space by releasing unused tracks/cyls.

Temp files delete at EOJ so RLSE is no big deal.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top