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
 

 

RLSE in temp & SORTWKXX files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: RLSE in temp & SORTWKXX files
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: 8593
Location: Back in jolly old England

PostPosted: Mon Dec 07, 2009 4:46 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


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