This class holds helper functions that are used to get the content of data sets or USS files through the z/OSMF APIs

export

### Hierarchy

- Get

## Index

### Methods

- USSFile
- dataSet

## Methods

### Static USSFile

- USSFile(session: AbstractSession, USSFileName: string, options?: IGetOptions): Promise<Buffer>

- - Defined in @zowe/zos-files-for-zowe-sdk/src/methods/get/Get.ts:57

  Retrieve USS file content

  throws

    {ImperativeError}

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  - ##### USSFileName: string

    contains the data set name

  - ##### Default value options: IGetOptions = {}

  #### Returns Promise<Buffer>

  Promise that resolves to the content of the uss file

### Static dataSet

- dataSet(session: AbstractSession, dataSetName: string, options?: IGetOptions): Promise<Buffer>

- - Defined in @zowe/zos-files-for-zowe-sdk/src/methods/get/Get.ts:34

  Retrieve data sets content

  throws

    {ImperativeError}

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  - ##### dataSetName: string

    contains the data set name

  - ##### Default value options: IGetOptions = {}

  #### Returns Promise<Buffer>

  Promise that resolves to the content of the data set

Generated using TypeDoc