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
 

 

How to dynamically allocate dataset attributes?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Wed Oct 08, 2008 11:09 am    Post subject: How to dynamically allocate dataset attributes?
Reply with quote

Hi,

Actually there are two cases..

1.There are few records
2.There are whole bunch of records.

So is there any way by which we can achieve the above cases efficiently.

I have just started working in JCL please explain at Beginner's level

Thanks
Beruoist
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Wed Oct 08, 2008 12:35 pm    Post subject:
Reply with quote

Hello,

It is not clear what you are asking.

Please describe what you mean by "allocate attributes dynamically". In what way does this relate to having a few or many records? Where is your concern for "efficiently" based?

Once we understand what you are looking for, someone should be able to offer some suggestions.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


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

PostPosted: Wed Oct 08, 2008 6:52 pm    Post subject:
Reply with quote

The usual attribute affected by number of records is SPACE. It's important to code RLSE in your JCL to release overallocated space when the file may have only a few records. This allows your JCL to handle various file sizes. Your site may automatically release unused space from certain files based on DFSMS routines.
Code:
 SPACE=(TRK,(15,15),RLSE) 

Does this help?
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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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