Skip to content

/AWS1/CL_MDC=>SEARCHJOBS()

About SearchJobs

Retrieve a JSON array that includes job details for up to twenty of your most recent jobs. Optionally filter results further according to input file, queue, or status. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.

Method Signature

IMPORTING

Optional arguments:

IV_INPUTFILE TYPE /AWS1/MDC__STRING /AWS1/MDC__STRING

Optional. Provide your input file URL or your partial input file name. The maximum length for an input file is 300 characters.

IV_MAXRESULTS TYPE /AWS1/MDC__INTEGERMIN1MAX20 /AWS1/MDC__INTEGERMIN1MAX20

Optional. Number of jobs, up to twenty, that will be returned at one time.

IV_NEXTTOKEN TYPE /AWS1/MDC__STRING /AWS1/MDC__STRING

Optional. Use this string, provided with the response to a previous request, to request the next batch of jobs.

IV_ORDER TYPE /AWS1/MDCORDER /AWS1/MDCORDER

Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.

IV_QUEUE TYPE /AWS1/MDC__STRING /AWS1/MDC__STRING

Optional. Provide a queue name, or a queue ARN, to return only jobs from that queue.

IV_STATUS TYPE /AWS1/MDCJOBSTATUS /AWS1/MDCJOBSTATUS

Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MDCSEARCHJOBSRESPONSE /AWS1/CL_MDCSEARCHJOBSRESPONSE