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

regarding UNLDSIZE parameter in a JCL


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

New User


Joined: 16 Jan 2008
Posts: 2
Location: chennai

PostPosted: Mon Feb 04, 2008 4:19 pm
Reply with quote

1. difference between the below two statements in a JCL:

UNLDSIZE='SPACE=(TRK,(25,25),RLSE)',
UNLDSIZE='SPACE=(CYL,(500,500),RLSE)'

2. if number of records that my table can contain is 7000000 and Number of Cylinders(approximately required is 7313.285, how can i get the Primary Allocation(CYLS) and Secondary Allocation (CYLS) figures so that i can put these figures in the above statement.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Feb 04, 2008 8:30 pm
Reply with quote

why not allocate in records and let the system do the math ??
Back to top
View user's profile Send private message
Venkateswari

New User


Joined: 16 Jan 2008
Posts: 2
Location: chennai

PostPosted: Tue Feb 05, 2008 2:56 pm
Reply with quote

ya tat option is also there but we need in this format.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Feb 05, 2008 3:07 pm
Reply with quote

obvious question .. Why?

obvious ( any derogatory adjective ) reply ... that' s the requriement

the only way is to

1 determine the number of records
2 determine / use the record lenght
3 find out the device characteristics
- track size / tracks per cylinders / cylinders per volume
4 adjust for best blksize ( no reason to use SDB uh? )
4acarry on the math
4b adjust for multivolume dataset if the input is very large
5 build dynamically the new parameters
5 build dynamically the job stream
6 submit the job

rewrite points 3 and 4 in case some different devices are added to Your system configuration

quite a complicate solution for a stupid requirement
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Feb 05, 2008 3:28 pm
Reply with quote

I have posted various times on this forum the calculations for space requirements, if you search you will find.
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 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 Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top