View previous topic :: View next topic
|
Author |
Message |
skbhadoria
New User
Joined: 24 Jul 2007 Posts: 4 Location: singapore
|
|
|
|
Hi Guys,
Wondering, is there any diffrence in the below two method for the allocation of cluster.
1-> DEFINE CLUSTER
Provide all the details.
2-> DEFINE CLUSTER
MODEL(existing cluster)
Kindly share if any one.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There is a link to manuals at the top of the page. Click it, find the VSAM Services for DFSMS manual, click on it, find the MODEL attribute of the DEFINE CLUSTER and find out for yourself. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
To add to Roberts input, do use the manuals link.
Dont google for model, you will find that the response from google
has nothing to do with vsam. |
|
Back to top |
|
|
skbhadoria
New User
Joined: 24 Jul 2007 Posts: 4 Location: singapore
|
|
|
|
Hi,
Thanks for reply.
I am intrested to know the DIFFRENCE in both the method instead the method. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
PeterHolland wrote: |
To add to Roberts input, do use the manuals link.
Dont google for model, you will find that the response from google
has nothing to do with vsam. |
Thanks Peter, great links |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The manual tells you the difference using the method -- if you bother to read it. |
|
Back to top |
|
|
skbhadoria
New User
Joined: 24 Jul 2007 Posts: 4 Location: singapore
|
|
|
|
Hi,
Thanks for the reply.
I am sorry, r u referring to the topic-"14.3.8 Define an Entry-Sequenced Cluster Using a Model: Example 8"
If yes, it just tell how to allocate using MODEL. Otherwise if possible, let me know which particular section you are referring.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Section 14.1.2 of the manual says:
Quote: |
MODEL(entryname[ catname])
Specifies an existing entry to be used as a model for the entry being defined. See "Specifying Attribute Selection Order" in topic 1.5 for information on how the system selects modeled attributes.
A VVDS cannot be modeled.
DATACLASS, MANAGEMENTCLASS, and STORAGECLASS attributes are not modeled.
You can use an existing cluster's entry as a model for the attributes of the cluster being defined. For details about how a model is used, see z/OS DFSMS Managing Catalogs.
You can use some attributes of the model and override others by explicitly specifying them in the definition of the cluster or component. If you do not want to add or change any attributes, you need specify only the entry type (cluster, data, or index) of the model to be used and the name of the entry to be defined.
See "Specifying Attribute Selection Order" in topic 1.5 for more information about the order in which the system selects an attribute.
When you use a cluster entry as a model for the cluster, the data and index entries of the model cluster are used as models for the data and index components of the cluster still to be defined, unless another entry is specified with the MODEL parameter as a subparameter of DATA or INDEX.
entryname
specifies the name of the cluster or component entry to be used as a model. |
|
|
Back to top |
|
|
|