View previous topic :: View next topic
|
Author |
Message |
beruoist
New User
Joined: 14 Nov 2007 Posts: 70 Location: mumbai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
|