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
 

 

regarding UNLDSIZE parameter in a JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: regarding UNLDSIZE parameter in a JCL
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Mon Feb 04, 2008 8:30 pm    Post subject: Reply to: regarding UNLDSIZE parameter in a JCL
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    Post subject: Reply to: regarding UNLDSIZE parameter in a JCL
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Tue Feb 05, 2008 3:07 pm    Post subject: Reply to: regarding UNLDSIZE parameter in a JCL
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 05, 2008 3:28 pm    Post subject:
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    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 Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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