Class UssCreate

    • Constructor Detail

      • UssCreate

        public UssCreate​(ZosConnection connection)
        UssCreate Constructor
        Parameters:
        connection - for connection information, see ZosConnection object
    • Method Detail

      • create

        public Response create​(String targetPath,
                               UssCreateInputData createInputData)
                        throws ZosmfRequestException
        Perform UNIX create a file or directory name request driven by UssCreateInputData object settings.
        Parameters:
        targetPath - the name of the file or directory you are going to create
        createInputData - to create response parameters, see UssCreateInputData object
        Returns:
        Response object
        Throws:
        ZosmfRequestException - request error state
      • createZfs

        public Response createZfs​(String fileSystemName)
                           throws ZosmfRequestException
        Create a ZFS using default values of 755 permissions, 10 primary and 2 secondary cylinders allocated, and a timeout of 20 seconds.
        Parameters:
        fileSystemName - ZFS file system name
        Returns:
        Response object
        Throws:
        ZosmfRequestException - request error state
      • createZfsCommon

        public Response createZfsCommon​(String fileSystemName,
                                        UssCreateZfsInputData createZfsInputData)
                                 throws ZosmfRequestException
        Create a ZFS request driven by the UssCreateZfsInputData object settings.
        Parameters:
        fileSystemName - ZFS file system name
        createZfsInputData - create ZFS response parameters, see UssCreateZfsInputData object
        Returns:
        Response object
        Throws:
        ZosmfRequestException - request error state