Interface IVSAMCluster

  • All Superinterfaces:
    IDataSet, IHostResource

    public interface IVSAMCluster
    extends IDataSet
    A VSAM cluster that resides on a z/OS host.

    For details on the state of an IVSAMCluster and the function of its methods, see IHostResource.

    Examples:
    To retrieve a VSAM cluster:

     IDataSetCommandProvider commandProvider = ...
     String vsamClusterName = ...
     
     // vsamCluster will be null if it cannot be found
     IVSAMCluster vsamCluster = commandProvider
             .findVSAMCluster(vsamClusterName);
     
    To retrieve a list of VSAM clusters matching a filter:
     IDataSetCommandProvider commandProvider = ...
     String dataSetFilter = ...
     
     // vsamClusters will be empty if no VSAM clusters match the dataset
     // filter
     List<IVSAMCluster> vsamClusters = commandProvider
             .findVSAMClusters(dataSetFilter);
     
    For examples on how to obtain an IDataSetCommandProvider see IDataSetCommandProvider.
    For examples of how to retrieve generic IDataSets see IDataSet.
    Since:
    1.0.0
    Version:
    2.0.0
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • getOrganization

        VSAMOrganization getOrganization()
        Returns the organization of this VSAM cluster.

        Note: the value returned from this method represents the state of this resource from the time it was retrieved from the host. Any changes made to this resource since it was retrieved will not be reflected in this method.

        Returns:
        the VSAM organization
        Since:
        1.0.0