Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to handle deletion of job information

export

Hierarchy

  • CancelJobs

Index

Accessors

Static Private log

Methods

Static cancelJob

  • Cancel and purge a job

    static
    memberof

    CancelJobs

    Parameters

    • session: AbstractSession

      z/OSMF connection info

    • jobname: string

      job name to be translated into parms object

    • jobid: string

      job id to be translated into parms object

    • Optional version: string

    Returns Promise<undefined | IJobFeedback>

    • promise of undefined, or IJobFeedback object returned by API if modifyVersion is 2.0

Static cancelJobCommon

Static cancelJobForJob

  • Cancel and purge a job Alternative version of the cancel API accepting an IJob object returned from other APIs such as GetJobs and SubmitJobs

    static
    memberof

    CancelJobs

    Parameters

    • session: AbstractSession

      z/OSMF connection info

    • job: IJob

      the job that you want to cancel

    • Optional version: "1.0" | "2.0"

      version of cancel request

    Returns Promise<undefined | IJobFeedback>

    • promise of undefined, or IJobFeedback object returned by API if modifyVersion is 2.0

Generated using TypeDoc