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 params)
                        throws ZosmfRequestException
        Perform UNIX create a file or directory name request driven by CreateParams object settings.
        Parameters:
        targetPath - the name of the file or directory you are going to create
        params - to create response parameters, see CreateParams 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 params)
                                 throws ZosmfRequestException
        Create a ZFS request driven by the CreateZfsParams object settings.
        Parameters:
        fileSystemName - ZFS file system name
        params - create ZFS response parameters, see CreateZfsParams object
        Returns:
        Response object
        Throws:
        ZosmfRequestException - request error state