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

Calculate space and found a disk


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Farrauto

New User


Joined: 30 Aug 2007
Posts: 5
Location: Belgium

PostPosted: Fri Aug 31, 2007 3:03 pm
Reply with quote

Hi,

I want create a rexx program which i can calculate number of cylinders to use in my vsam when the number of cylinders is found, I want to search a disk to use for my DBD. These disks are listed in a member.

To calculate the cylinders, I have the size for each segment, the number of segment.

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

Global Moderator


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

PostPosted: Fri Aug 31, 2007 4:26 pm
Reply with quote

If your DASD is SMS managed the chances are that your DASD selection will be ignored anyway, so that removes that problem.

When you say DBD is this a DB2 dataset ?[/Search]
Back to top
View user's profile Send private message
Farrauto

New User


Joined: 30 Aug 2007
Posts: 5
Location: Belgium

PostPosted: Fri Aug 31, 2007 5:00 pm
Reply with quote

No it 's a DBD DL/I, no Db2.

So, we don't use sms for managed disk. We must give a disk for each DBD.

Actually, we must found in a list (of disk), a disk with numbers cylinders use for a DBD.

If i calculate (I want a rexx program to calculate) 150 cylinders for a DBD, I must found a disk free with 150 cylinders.
Our disks are shared in several clients.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Aug 31, 2007 5:16 pm
Reply with quote

The method for calculating DBD space requirements is unknown to me, so we will have to wat for a database person to answer this one icon_confused.gif
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts CA Disk LISTD SQL CA Products 1
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
Search our Forums:

Back to Top