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
 

 

Space Parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Space Parameter
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    Post subject: Reply to: Space Parameter
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 20, 2011 4:35 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Oct 20, 2011 4:35 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 20, 2011 4:42 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 20, 2011 4:43 pm    Post subject:
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

Site Director


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

PostPosted: Thu Oct 20, 2011 7:40 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu Nov 24, 2011 11:02 pm    Post subject:
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    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 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
No new posts Send parameter for macro STIMERM from... Daniel Teolotitla PL/I & Assembler 13 Tue Jul 05, 2016 9:23 pm
No new posts COND parameter vs IF THEN ELSE Alks JCL & VSAM 11 Fri Jun 17, 2016 5:28 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm


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