Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Get

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

Methods

Static USSFile

  • USSFile(session: AbstractSession, USSFileName: string, options?: IGetOptions): Promise<Buffer>
  • 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>
  • 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