Remember
ADDVOLUMES(volser [ volser])
This provides the volumes that are to be added to the list of candidate
volumes. You can use ALTER ADDVOLUMES to add candidate volumes to non-managed
VSAM data sets and SMS-managed VSAM, non-VSAM, and generation data sets (GDS).
Only nonspecific volumes can be added to SMS-managed, non-VSAM data sets and
GDS data sets. If an ALTER ADDVOLUMES is done to a data set already opened and
allocated, the data set must be closed, unallocated, reallocated, and reopened
before VSAM can extend onto the newly added candidate volume. Adding a
nonexistent volume to the list can result in an error when the data set is
extended. Ensure that the volume exists and is online before attempting to
extend the data set.
Restriction: This does not work with non-SMS non-VSAM.
SMS might not use candidate volumes for which you request specific volsers with
the ADDVOLUMES parameter. Sometimes a user-specified volser for an SMS-managed
data set results in an error. To avoid candidate-volume problems with SMS, you
can have SMS choose the volser used for a candidate volume. To do this, you can
code an * for each volser that you request with the ADDVOLUMES parameter. If,
however, you request both specified and unspecified volsers in the same
command, you must enter the specified volsers first in command syntax. The
system does not allocate space on candidate volumes until VSAM extends to the
candidate volume. This includes SMS-managed data sets with Guaranteed Space.
Abbreviation: AVOL
Lizette
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Bill Ashton
> Sent: Friday, October 30, 2015 12:09 PM
> To: [email protected]
> Subject: Re: How to change SMS
>
> OK, this is some education for me...I saw the count in the Dataclass and
> thought I
> would have to only increase that. I will make sure the Dataclass has the
> right count
> of vols, and will also be sure the SMS group has those specific volumes
> defined.
>
> Now to be sure I have the command right, since I have 3 vols, and am adding
> 3 vols, I would do ALTER dsn AVOL(* * *), right? The file will be deleted at
> end of
> January, and a new one created, so I can do that after I take out those 3
> extra vols.
>
> Thanks Lizette and everyone - I will let you know if I have further questions.
>
> On Fri, Oct 30, 2015 at 2:38 PM, Lizette Koehler <[email protected]>
> wrote:
>
> > So,
> > You will need to add more volumes to the SMS Pool Then go to the DATA
> > Class and ensure you are not setting things like Volume Count or Dyna
> > volume count to a number less then what you are providing your user.
> >
> > And ALTER dsn VOL(* * * * * ) however many stars to reflect the number
> > of volumes.
> > Also, do a LISTC ENT(dsn) ALL and see what the candidates look like
> > before you make changes.
> >
> > Also, remember that when the files allocate the new volume, You may
> > wish to place them in QUINEW or something similar so you can get them
> > back. Or is the user able to delete the file when you want the volumes back.
> >
> > Lizette
> >
> >
> > > -----Original Message-----
> > > From: IBM Mainframe Discussion List
> > > [mailto:[email protected]] On Behalf Of Bill Ashton
> > > Sent: Friday, October 30, 2015 10:44 AM
> > > To: [email protected]
> > > Subject: Re: How to change SMS
> > >
> > > The file is currently on 3 volumes that are SMS managed in a
> > > Dataclass
> > that has 3
> > > volumes. We want to add 3 more volumes to this Dataclass and have
> > > the
> > file
> > > automatically pick them up. I will look at the ALTER AddVolumes...
> > >
> > > On Fri, Oct 30, 2015 at 1:37 PM, Mark Jacobs - Listserv <
> > > [email protected]> wrote:
> > >
> > > > Can't you just do an ALTER ADDVOLUMES(* * *) on that dataset?
> > > >
> > > > Mark Jacobs
> > > >
> > > >> Bill Ashton <mailto:[email protected]> October 30, 2015 at
> > > >> 1:34 PM Hi friends! One of our users is working with a file that
> > > >> is currently defined to a special Dataclass with 3 volumes (it is
> > > >> pretty full already).
> > > >> They want to test an end-of-year process that will add a lot of
> > > >> data to this file, and I would like to add another 3 volumes
> > > >> temporarily to this class.
> > > >>
> > > >> Can I just add the vols to the SMS dataclass, and the file will
> > > >> automatically expand when she fills the 3 it had when defined, or
> > > >> would I need to back it up and reallocate it again to pick up the
> > > >> new
> > volumes?
> > > >>
> > > >> She is the only user of this Dataclass, and this is only
> > > >> temporary (until end of January). So I would need to know how to
> > > >> add the vols now, and then back them out again in 3 months.
> > > >>
> > > >> Thanks for your advice.
> > > >>
> > > >> --
> > > >> Thank you and best regards,
> > > >> *Billy Ashton*
> > > >>
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions, send
> > email to [email protected] with the message: INFO IBM-MAIN
> >
>
>
>
> --
> Thank you and best regards,
> *Billy Ashton*
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email to
> [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN