Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Writing multiple volume sequence data set
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 663

PostPosted: Thu Aug 14, 2008 12:38 pm    Post subject:
Reply with quote

Hi,

I'm curious to know what the file looks like after running REPRO1 step only
ie. how many volumes does the dataset span across.

Also 300,300 tracks does not guarantee a total of 4800 tracks

see http://ibmmainframes.com/viewtopic.php?t=26006&highlight=gerry+extents


Gerry
Back to top
View user's profile Send private message
References
Mainopr

New User


Joined: 05 Feb 2007
Posts: 11
Location: HK

PostPosted: Thu Aug 14, 2008 1:03 pm    Post subject:
Reply with quote

Hi gcicchet,

After each step the usage information will be look like that :

Code:

COUNT(100)
VOLSER      Tracks %Used XT  Device
---------------------------------------------
DISK01       300            5   1    3390 

COUNT(3000) 
VOLSER      Tracks %Used XT  Device
---------------------------------------------
DISK01       300          100  1    3390 
DISK02       300            66  1    3390 


COUNT(4000)     
VOLSER      Tracks %Used XT  Device
---------------------------------------------
DISK01       300          100  1    3390 
DISK02       300          100  1    3390 
DISK03       300            22  1    3390 


COUNT(8000) 
VOLSER      Tracks %Used XT  Device
---------------------------------------------
DISK01       300          100  1    3390 
DISK02       300          100  1    3390 
DISK03       900            81  3    3390 



And yes you are right, due to fragmentation, the total size may not be guaranteed as calculated. Thus, our storage admin. won't suggest us to use large value on both primary & secondary space.

Thanks !
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 663

PostPosted: Thu Aug 14, 2008 4:37 pm    Post subject:
Reply with quote

Hi,

can you try changing from 300,300 to 300,299 , again I'm interested to know if the space allocated on the 2nd and 3rd volumes is the secondary space or the primary.

Also can you do a LISTC next to the dataset after REPRO1 step.

What happens if you just specify UNIT=(SYSDA,3) and no VOL parameter ?


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

Global Moderator


Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

PostPosted: Thu Aug 14, 2008 4:47 pm    Post subject:
Reply with quote

I think that your results would be different if you tried to repro only the COUNT(8000) in the first step.

The first step allocates your dataset, 300 tracks on 3 volumes. And then writes to the dataset.

The subsequent steps overwrite the existing data but are adding more data with each test step. When the first extent on the first volume is used up the system knows that a second extent exists on another volume, so will use that without extending on the first volume.

The same holds true for the second volume, an extent of free space exists within the pre allocated file so gets used. Now we are on the last volume of the sequence, and any extra extents will be allocated on that volume and that volume alone.

So if you ask me, not the very best way to go about performing space allocation.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 663

PostPosted: Thu Aug 14, 2008 5:18 pm    Post subject:
Reply with quote

Hi,

I just managed to test this unusual space set up, the first step allocates 300 tracks on the first volume only, the catalog lists all 3 volumes.

The dataset does not exist on vol 2 and 3.

Next step extends the dataset to 2nd volume but using the secondary space value.

Next step extends the dataset to 3rd volume again using the secondary space value.

The 4th step continues using the 3rd volume until in runs out of extents.

Now if DISP=MOD was used it continues writing to VOL 1 until it reaches 16 extents and then it continues with VOL2 until it reaches 16 extents and then onto VOL3.

The primary space is only ever used on the first volume.


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

Global Moderator


Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

PostPosted: Thu Aug 14, 2008 5:21 pm    Post subject:
Reply with quote

Gerry,

Are you using NON SMS managed DASD, or SMS managed ?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 663

PostPosted: Thu Aug 14, 2008 5:24 pm    Post subject:
Reply with quote

Hi Expat,

I made sure I used non sms managed volumes. when I tested against SMS managed volumes the catalog only showed 1 volume.


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

Global Moderator


Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

PostPosted: Thu Aug 14, 2008 5:31 pm    Post subject:
Reply with quote

OK OK, only asking icon_biggrin.gif

The problem is with the way that the file has been set up, and/or used. It is pre allocated for the second and subsequent steps, and as stated in my post above, will not extend on the first and second volumes.

Methinks that your use of DISP=MOD would be the best solution, except that I'm never happy using DISP=MOD. Probably stems from my early years when hardware and media were not so damned reliable.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 663

PostPosted: Thu Aug 14, 2008 5:55 pm    Post subject:
Reply with quote

Hi Expat,

I agree with you with DISP=MOD, the minute it runs out of space the file is useless, some of the data has already been appended. icon_smile.gif icon_smile.gif icon_smile.gif

A pain in the SAS


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

Global Moderator


Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

PostPosted: Thu Aug 14, 2008 6:10 pm    Post subject:
Reply with quote

Quote:
A pain in the SAS

Yeah, and a couple other places too icon_wink.gif

Maybe this is a job for GDG man !!!! Probably the best way forward, using RLSE with the space so no over allocations and no need for MOD.
Back to top
View user's profile Send private message
Mainopr

New User


Joined: 05 Feb 2007
Posts: 11
Location: HK

PostPosted: Mon Aug 18, 2008 12:59 pm    Post subject:
Reply with quote

Hi all,

Thanks for all of your messages.

I finally found that it should be caused by a FEOV macro. I am going to use storage pool instead of delicated volumes to sovle the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2