The task is used to create an Enterprise Extensions system definition for a translator.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| commandifobjectexists | A command to be run when the output object exists. | No |
| commandifobject doesntexist | A command to be run when the output object does not exist. | No |
| description | A free-form textual description for the translator definition. | No |
| introspection |
Whether introspection of the build object is performed when updatint the build map. Valid values are true and false. The default is false.
|
No |
| outputtype | The type of the output. | No |
| outputNameKind |
The type of output name. Specify one of the following values:
|
No |
| outputName |
The output name string. When outputNameKind is SAME_AS_INPUT, the build ignores it. When outputNameKind is USE_PATTERN, the build uses the pattern string that you specified. When outputNameKind is USE_VARIABLE, it indicates the name of a variable whose value is used as a pattern.
|
No |
| name | A unique name for the translator definition. | Yes |
| nonImpacting |
Specifies that changes to this system definition do not force Enterprise Extensions dependency build request processing to use full analysis instead of change set analysis. Valid values are true and false. The default is false.
|
No |
| searchpath |
The name of a search path to use. If a search path with the name does not exist, the name is considered to be a build property. If this attribute is not specified, the search path defaults to ${com.ibm.team.enterprise.ibmi.build.searchPath}.
|
No |
The variable element is specified within the element. Each variable element defines one variable used in the build. The following table describes the valid variable attribute values:
| variable Element Attributes | ||
| Attribute | Description | Required |
| name | Variable name. | Yes |
| value | Variable value. | Yes |
<target description="Create translators." name="translators">
<xt:translator
commandifobjectdoesntexist="CRTCLMOD MODULE(*CURLIB/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF)"
commandifobjectexists="CRTCLMOD MODULE(*CURLIB/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF)"
name="ORT_CLLE"
outputtype="*MODULE"
searchpath="ORT_searchPath"/>
<xt:translator
commandifobjectdoesntexist="CRTCLPGM PGM(*CURLIB/&N) SRCFILE(&L/&F) SRCMBR(&N)"
commandifobjectexists="CRTCLPGM PGM(*CURLIB/&N) SRCFILE(&L/&F) SRCMBR(&N)"
name="ORT_CLP"
outputtype="*PGM"
searchpath="ORT_searchPath"/>
<xt:translator
commandifobjectdoesntexist="CRTDSPF SRCFILE(&L/&F) SRCMBR(&N) FILE(*CURLIB/&N) OPTION(*EVENTF)"
commandifobjectexists="CRTDSPF SRCFILE(&L/&F) SRCMBR(&N) FILE(*CURLIB/&N) OPTION(*EVENTF)"
name="ORT_DSPF"
outputName="VAR1"
outputNameKind="USE_VARIABLE" outputtype="*FILE"
searchpath="ORT_searchPath">
<xt:variable name="VAR1" value="*B"/>
</xt:translator>
<xt:translator
commandifobjectdoesntexist="CRTLF SRCFILE(&L/&F) SRCMBR(&N) FILE(*CURLIB/&N) OPTION(*EVENTF)"
commandifobjectexists="DLTF FILE(*CURLIB/&N), CRTLF SRCFILE(&L/&F) SRCMBR(&N) FILE(*CURLIB/&N) OPTION(*EVENTF)"
name="ORT_LF"
outputName="=========A"
outputNameKind="USE_PATTERN"
outputtype="*FILE"
searchpath="ORT_searchPath"/>
<xt:translator
commandifobjectdoesntexist="CRTPF SRCFILE(&L/&F) SRCMBR(&N) FILE(*CURLIB/&N) OPTION(*EVENTF)"
commandifobjectexists="CHGPF SRCFILE(&L/&F) SRCMBR(&N) FILE(*CURLIB/&N) OPTION(*EVENTF)"
description="PF translator"
name="ORT_PF"
outputtype="*FILE"
searchpath="ORT_searchPath"/>
<xt:translator
commandifobjectdoesntexist="CRTPGM PGM(*CURLIB/&O) &MODULE_ATTRIBUTE &BNDSRVPGM_ATTRIBUTE BNDDIR(&BNDDIR)"
commandifobjectexists="UPDPGM PGM(*CURLIB/&O) &MODULE_ATTRIBUTE &BNDSRVPGM_ATTRIBUTE BNDDIR(&BNDDIR)"
introspection="true"
name="ORT_PGM"
outputtype="*PGM"
searchpath="ORT_searchPath">
<xt:variable name="MODULE_ATTRIBUTE" value="MODULE(defaults)"/>
<xt:variable name="BNDSRVPGM_ATTRIBUTE" value="BNDSRVPGM(defaults)"/>
<xt:variable name="BNDDIR" value="*none"/>
</xt:translator>
<xt:translator
commandifobjectdoesntexist="CRTRPGMOD MODULE(*CURLIB/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF)"
commandifobjectexists="CRTRPGMOD MODULE(*CURLIB/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF)"
name="ORT_RPGLE"
outputtype="*MODULE"
searchpath="ORT_searchPath"/>
<xt:translator
commandifobjectdoesntexist="CRTSRVPGM SRVPGM(*CURLIB/&O) EXPORT(*ALL) &MODULE_ATTRIBUTE &BNDSRVPGM_ATTRIBUTE"
commandifobjectexists="UPDSRVPGM SRVPGM(*CURLIB/&O) EXPORT(*ALL) &MODULE_ATTRIBUTE &BNDSRVPGM_ATTRIBUTE"
introspection="true"
name="ORT_SRVPGM"
outputtype="*SRVPGM"
searchpath="ORT_searchPath">
<xt:variable name="MODULE_ATTRIBUTE" value="MODULE(defaults)"/>
<xt:variable name="BNDSRVPGM_ATTRIBUTE" value=""/>
</xt:translator>
</target>