View previous topic :: View next topic
|
Author |
Message |
Gay251319
New User
Joined: 17 Jun 2009 Posts: 57 Location: Kochi
|
|
|
|
Hi ,
In my file the records may exceed more than 2 million. And my file length is 300 . In this case how I should define the Space parameter.
In Cylinders as well as in Tracks and Blocks
Can anyone help me for the same
Regards,
Gay251319 |
|
Back to top |
|
|
chandracdac
New User
Joined: 15 Jun 2007 Posts: 92 Location: bangalore
|
|
|
|
Hi,
try this
This works for 3 million records also
RECORD LENTH ===> 300
//DDNAME DD DSN=YOUR.NAME,
DISK BLKS SPACE=(27900,(32259,6451),RLSE)
TRKS SPACE=(TRK,(16130,3226),RLSE)
CYL SPACE=(CYL,(1076,215),RLSE)
LRECL=300,BLKSIZE=27900
CART/TAPE LRECL=300,BLKSIZE=32700
Thanks,
Chandra |
|
Back to top |
|
|
Gay251319
New User
Joined: 17 Jun 2009 Posts: 57 Location: Kochi
|
|
|
|
Hi ,
Thanks a lot for ur reply
In this case I should use a TAPE file . Will it work fine ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Gay251319 wrote: |
In this case I should use a TAPE file . Will it work fine ? |
Why not test it YOURSELF
But as you can not be bothered to give any useful information, I somehow doubt that you would.
What is the DSORG of the file, the first and fundamental question.
If it is a VSAM file then a big fat NO is the answer. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Cylinders and Tracks relate to DISK, not tape. Space on TAPE depends on how long the tape is....
Garry. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
27900 / 300 = 93 records per half track
93 * 2 = 186 records per track
186 * 15 = 2,790 records per cylinder
3,000,000 / 2790 = 1,076 cylinders
This really is a basic question that could have, and should have, been researched before posting on a forum |
|
Back to top |
|
|
Gay251319
New User
Joined: 17 Jun 2009 Posts: 57 Location: Kochi
|
|
|
|
Hi ,
Sorry . Actually mine is a TAPE file . I forget to specify that
If I am using TAPE 3490 what space I should give for the same .
Can anyone help me for the same
Regards,
Gay251319 |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
May I suggest that you read through your production JCL libraries and use exactly the same space parameters that are specified for other tape datasets.
Or a nice manual may suffice instead |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
At the top of the page is a link to "IBM MAnuals". You need to read the information about the SPACE parameter in the JCL Reference manual.
Hint: Pay special attention to anything about TAPE rather than DASD.
If you find something in the manual that is not clear, post what you found and your doubt. Someone here will be able to clarify. |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 582 Location: London
|
|
|
|
Perhaps take note of the VOLCOUNT parameter too....
, might be relevent here.
For further reading also see the AVGREC parameter which combined with SPACE allow requests for space in units, thousands and millions of records and it calculates the trks, cyls for you. If you don't specify BLKSIZE in your JCL the system will determine the best one for you. |
|
Back to top |
|
|
|