Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol > Re: Retreiving ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 4080 of 4196
Post > Topic >>

Re: Retreiving dataset allocation from mainframe COBOL program

by "Grzegorz Mazur" <news2@[EMAIL PROTECTED] > Apr 7, 2008 at 03:28 PM

"Michael Mattias" <mmattias@[EMAIL PROTECTED]
> wrote in message 
news:NUoKj.1153$GO4.875@[EMAIL PROTECTED]
> "Grzegorz Mazur" <news2@[EMAIL PROTECTED]
> wrote in
message
> news:ftcq9s.3n0.1@[EMAIL PROTECTED]
>> Hi All!
>>
>> This is more of a mainframe question than a COBOL one, but
>> nevertherless...
>>
>> I am looking for a way to get information on dataset allocation
(primary
>> and secondary space) from a COBOL batch program..
>
> You are looking to calculate how much to allocate? Or determine what the
> allocation parameters of an existing dataset are?
>
> If the former - you want to calculate - it's pretty badly out of date,
but
> this file on my web site ...
>
> http://www.talsystems.com/tsihome_html/downloads/VsamSpace.zip
> or
> http://www.talsystems.com/tsihome_html/downloads/VsamSpace.exe
>
> Includes this software:
> " Windows/32 software to calculate space requirements (cylinders/tracks)

> for
> VSAM files based on media, record size, CI Size/freespace percent and 
> more.
> Enables "tuning" of parameters to optimize DASD usage. Freeware."
>
> One of the software button options is "explain" or "info" or 
> "do***entation"
> or something like that, which generates a text file explaining all the
> arithmetic I used to calculate the space.. which you could code to do
the
> calculations for your actual data.
>
> You will no doubt have to look up the parameters for the particular disk
> drives in use (I have not updated that software for about eight years
and
> I'm sure there are new devices in that time), but it could be a start
for
> you.

Hi Mattias,

unfortunately calculating wouldn't be a problem (we use a very well
defined 
SPACE parameter set, depending on the amount of records rather than TRK or

CYL). It is finding the actual parameters of an *existing* dataset that is

the issue. To be more clear - I have a lot of datasets, I need to
manipulate 
them, but I have no way of knowing what their size is. I am now trying to 
find that way :)

Since posting the original message I've gone through DFSMS manual, IDCAMS 
etc. Yet no cigar so far...

Thanks for your input though :)

Greg
 




 8 Posts in Topic:
Retreiving dataset allocation from mainframe COBOL program
"Grzegorz Mazur"  2008-04-07 09:42:19 
Re: Retreiving dataset allocation from mainframe COBOL program
"Michael Mattias&quo  2008-04-07 07:59:11 
Re: Retreiving dataset allocation from mainframe COBOL program
"Grzegorz Mazur"  2008-04-07 15:28:56 
Re: Retreiving dataset allocation from mainframe COBOL program
"Charles Hottel"  2008-04-07 20:40:08 
Re: Retreiving dataset allocation from mainframe COBOL program
Binyamin Dissen <posti  2008-04-07 17:09:22 
Re: Retreiving dataset allocation from mainframe COBOL program
Alistair <alistair@[EM  2008-04-07 13:01:07 
Re: Retreiving dataset allocation from mainframe COBOL program
"William M. Klein&qu  2008-04-08 04:32:30 
Re: Retreiving dataset allocation from mainframe COBOL program
Alistair <alistair@[EM  2008-04-09 13:48:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 3:23:20 CDT 2008.