Skip to content

/AWS1/CL_EMC=>CREATEJOBTEMPLATE()

About CreateJobTemplate

Creates a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/EMCRESOURCENAMESTRING /AWS1/EMCRESOURCENAMESTRING

The specified name of the job template.

IV_CLIENTTOKEN TYPE /AWS1/EMCCLIENTTOKEN /AWS1/EMCCLIENTTOKEN

The client token of the job template.

IO_JOBTEMPLATEDATA TYPE REF TO /AWS1/CL_EMCJOBTEMPLATEDATA /AWS1/CL_EMCJOBTEMPLATEDATA

The job template data which holds values of StartJobRun API request.

Optional arguments:

IT_TAGS TYPE /AWS1/CL_EMCTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags that are associated with the job template.

IV_KMSKEYARN TYPE /AWS1/EMCKMSKEYARN /AWS1/EMCKMSKEYARN

The KMS key ARN used to encrypt the job template.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EMCCREATEJOBTMPLRSP /AWS1/CL_EMCCREATEJOBTMPLRSP