This class holds helper functions that are used to execute AMS control statements through the z/OS MF APIs

### Hierarchy

- Invoke

## Index

### Methods

- ams

## Methods

### Static ams

- ams(session: AbstractSession, controlStatements: string | string[], options?: IZosFilesOptions): Promise<IZosFilesResponse>

- - Defined in @zowe/zos-files-for-zowe-sdk/src/methods/invoke/Invoke.ts:40

  Send the AMS request to z/OS MF

  throws

    {ImperativeError} controlStatements must be set

  throws

    {Error} When the ZosmfRestClient throws an error

  see

    https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.izua700/IZUHPINFO_API_PUTIDCAMSAccessMethodsServices.htm

  #### Parameters

  - ##### session: AbstractSession

    z/OS MF connection info

  - ##### controlStatements: string | string[]

    contains the statements or the file path to them

  - ##### Optional options: IZosFilesOptions

  #### Returns Promise<IZosFilesResponse>

  A response indicating the outcome of the API

Generated using TypeDoc