Class to handle renaming data sets

### Hierarchy

- Rename

## Index

### Methods

- dataSet
- dataSetMember
- rename

## Methods

### Static dataSet

- dataSet(session: AbstractSession, beforeDataSetName: string, afterDataSetName: string, options?: IZosFilesOptions): Promise<IZosFilesResponse>

- - Defined in @zowe/zos-files-for-zowe-sdk/src/methods/rename/Rename.ts:33

  Rename a data set

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  - ##### beforeDataSetName: string

    the name of the data set to rename

  - ##### afterDataSetName: string

  - ##### Optional options: IZosFilesOptions

  #### Returns Promise<IZosFilesResponse>

### Static dataSetMember

- dataSetMember(session: AbstractSession, dataSetName: string, beforeMemberName: string, afterMemberName: string, options?: IZosFilesOptions): Promise<IZosFilesResponse>

- - Defined in @zowe/zos-files-for-zowe-sdk/src/methods/rename/Rename.ts:58

  Rename a data set member

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  - ##### dataSetName: string

    the name of the data set the member belongs to

  - ##### beforeMemberName: string

    the current name of the member

  - ##### afterMemberName: string

    the new name of the member

  - ##### Optional options: IZosFilesOptions

  #### Returns Promise<IZosFilesResponse>

### Static Private rename

- rename(session: AbstractSession, afterDataSetName: string, __namedParameters: { beforeDataSetName: string; beforeMemberName: string }, options?: IZosFilesOptions): Promise<IZosFilesResponse>

- - Defined in @zowe/zos-files-for-zowe-sdk/src/methods/rename/Rename.ts:83

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  - ##### afterDataSetName: string

    The new name of the data set in the form 'dataset(member)'

  - ##### __namedParameters: { beforeDataSetName: string; beforeMemberName: string }

    - ##### beforeDataSetName: string

    - ##### beforeMemberName: string

  - ##### Optional options: IZosFilesOptions

  #### Returns Promise<IZosFilesResponse>

Generated using TypeDoc