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

Space Parameter


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

New User


Joined: 17 Jun 2009
Posts: 57
Location: Kochi

PostPosted: Thu Oct 20, 2011 4:06 pm
Reply with quote

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
View user's profile Send private message
chandracdac

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Thu Oct 20, 2011 4:11 pm
Reply with quote

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
View user's profile Send private message
Gay251319

New User


Joined: 17 Jun 2009
Posts: 57
Location: Kochi

PostPosted: Thu Oct 20, 2011 4:22 pm
Reply with quote

Hi ,

Thanks a lot for ur reply

In this case I should use a TAPE file . Will it work fine ?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Oct 20, 2011 4:35 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Oct 20, 2011 4:35 pm
Reply with quote

Cylinders and Tracks relate to DISK, not tape. Space on TAPE depends on how long the tape is....

Garry.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Oct 20, 2011 4:42 pm
Reply with quote

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
View user's profile Send private message
Gay251319

New User


Joined: 17 Jun 2009
Posts: 57
Location: Kochi

PostPosted: Thu Oct 20, 2011 4:42 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Oct 20, 2011 4:43 pm
Reply with quote

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 icon_rolleyes.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Oct 20, 2011 7:40 pm
Reply with quote

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
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Thu Nov 24, 2011 11:02 pm
Reply with quote

Perhaps take note of the VOLCOUNT parameter too.... icon_lol.gif
, 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
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 Replace each space in cobol string wi... COBOL Programming 3
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 Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
Search our Forums:

Back to Top