Skip to content

/AWS1/CL_SNB=>LISTJOBS()

About ListJobs

Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions.

Method Signature

IMPORTING

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/SNBLISTLIMIT /AWS1/SNBLISTLIMIT

The number of JobListEntry objects to return.

IV_NEXTTOKEN TYPE /AWS1/SNBSTRING /AWS1/SNBSTRING

HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry objects, you have the option of specifying NextToken as the starting point for your returned list.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SNBLISTJOBSRESULT /AWS1/CL_SNBLISTJOBSRESULT