krn.EnumJobs

This job returns a list of implemented jobs for a specified engine.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

NameSpace

STRING

Yes

Short label of the engine for which the list of jobs should be generated (e.g. krn, dms, std)

2. Output Parameters

Name Type Dependency Description

[Jobname]

STRING

Optional

One parameter per implemented job. The parameter name equals the job name (without namespace prefix); the value is empty.

3. Return Value

(INT): 0 = Job successful, otherwise error code.

4. Notes

  • The job names are contained in the parameter names, not in the parameter values.

  • The returned job names have no namespace prefix; for a call, prepend the engine’s prefix (e.g. parameter name BatchEnum in engine krn corresponds to the job krn.BatchEnum).

  • Which jobs are returned depends on the specific server installation and configuration and may differ between systems.

  • The available engine labels are returned by krn.EnumNameSpaces.

5. Example

Request with Flags = 0 and NameSpace = krn. Excerpt of the returned output parameters (return value 0):

AppsEventsEnum       =
AppsEventsSubscribe  =
AslogGeneralFlags    =
AsynchJobResponse    =
BatchAdd             =
…

See also: krn.EnumNameSpaces