Before you can use the language definitions generator, you must:
| Attribute | Description |
|---|---|
| repositoryAddress | URL string to the Rational Team Concert for System z server |
| userId | Rational Team Concert for System z user ID |
| password | Rational Team Concert for System z password |
| passwordFile | Rational Team Concert for System z password file |
| projectArea | The name of the project area where associated data set definitions, translators, and language definitions are stored. |
<ld:init repositoryAddress="https://opusdejazz.raleigh.ibm.com:9443/jazz"userId="tami" password="tami" projectArea="Build Test"/>
| Attribute | Description | Default |
|---|---|---|
| name | Definition name | |
| description | Definition description | |
| dsName | Data set name | |
| dsMember | Member name | |
| prefixDSN | true if the prefix you specified in the build request should be prepended to the data set name. | true |
| dsDefUsageType |
|
0 (zFolder) |
| dsType |
|
0 (PDSE) |
| storageClass | Storage class to which the data set is assigned. | |
| dataClass | Data class used to create the data set. | |
| managementClass | Management class used to manage the data set. | |
| volumeSerial | Data set volume serial number | |
| GenericUnit | generic group name or unit address | |
| spaceUnits | Unit of allocation spaces to be used. The value
must be one of the following:
|
|
| recordUnit | Unit of allocation quantity. The value must
be one of the following:
|
U |
| primaryQuantity | Primary allocation quantity | 1 |
| secondaryQuantity | Secondary allocation quantity | 1 |
| directoryBlocks | Number of 256-byte directory blocks provided. | 0 |
| recordLength | Logical length in bytes | 80 |
| blockSize | Block size | |
| recordFormat | A z/OS® data
set record format string, such as F, FB, V, VB or U. Possible values
include the following:
|
FB |
<!-- zFolders --> <ld:dsdef name="COBOL" dsName="COBOL" dsDefUsageType="0" dsType="0" spaceUnits="cyls" primaryQuantity="1" secondaryQuantity="1" recordFormat="FB" recordLength="80" blockSize="0" />
<!-- New data sets --> <ld:dsdef name="OBJ" dsName="OBJ" dsDefUsageType="1" dsType="0" spaceUnits="cyls" primaryQuantity="1" secondaryQuantity="1" recordFormat="FB" recordLength="80" blockSize="0" /> <ld:dsdef name="LOAD" dsName="LOAD" dsDefUsageType="1" dsType="0" spaceUnits="cyls" primaryQuantity="1" secondaryQuantity="1" recordFormat="U" recordLength="0" blockSize="32760" />
<!-- Temporary data set --> <ld:dsdef name="TEMPFILE" dsDefUsageType="2" prefixDSN="false" dsType="9" spaceUnits="trks" primaryQuantity="5" secondaryQuantity="5" genericUnit="SYSALLDA" />
<!-- Existing data sets --> <ld:dsdef name="IGYCRCTL" dsName="COBOL.V4R1M0.SIGYCOMP" dsMember="IGYCRCTL" dsDefUsageType="3" prefixDSN="false"/> <ld:dsdef name="IEWBLINK" dsMember="IEWBLINK" dsDefUsageType="3" prefixDSN="false"/> <ld:dsdef name="SCEELKED" dsName="CEE.SCEELKED" dsDefUsageType="3" prefixDSN="false"/>
| Attribute | Description | Default |
|---|---|---|
| name | Translator name | |
| propertyName | Build property name | |
| description | Translator description | |
| dataSetDefinition | Data set definition for translator module | |
| ddnamelist | Alternate DD names list for the translator | |
| defaultOptions | Option string that is passed to the translator. | |
| maxRC | Maximum return code allowed | 0 |
<ld:translator name="ASMMAP" dataSetDefinition="ASMA90"
defaultOptions="SYSPARM(MAP),DECK,NOOBJECT"
ddnamelist="SYSLIN,,,SYSLIB,SYSIN,ANTPRINT"
maxRC="0">
<ld:concatenation name="SYSLIB">
<ld:allocation dataSetDefinition="SDFHMAC"/>
<ld:allocation propertyName="teamz.mylib"/>
</ld:concatenation>
<ld:allocation name="SYSIN" input="true"/>
<ld:allocation name="SYSPUNCH" dataSetDefinition="OBJ" member="true"/>
<ld:allocation name=SYSPRINT" propertyName="teamz.sysprint"/>
<ld:allocation name="SYSUT1" dataSetDefinition="TEMPFILE"/>
<ld:allocation name="SYSUT2" dataSetDefinition="TEMPFILE"/>
<ld:allocation name="SYSUT3" dataSetDefinition="TEMPFILE"/>
</ld:translator>
| Attribute | Description |
|---|---|
| name | Language definition name |
| description | Language definition description |
| translators | Names of translators, delimited by a colon |
| defaultExtension | Associated default file extension |
| languageCode | Language code for the language definition. See Table 5 for the list of supported language codes. |
| subsystems | Subsystems used in the language definition. When two or more subsystems are used, they are delimited by commas. See Table 6 for the list of supported subsystems. |
| Language code | Description |
|---|---|
| ASM | Assembler |
| BIN | Binary |
| BND | Bind |
| C | C |
| CPP | C++ |
| EASY | CA Easytrieve |
| COB | COBOL |
| JCL | JCL |
| LNK | Link-edit |
| PLI | PL/I |
| OTH | Others |
| Subsystem | Description |
|---|---|
| CICS | CICS |
| DB2 | DB2 |
| IMS | IMS |
<ld:langdef name="COBOL-CICS-DB2" translators="IGYCRCTL-CICS-DB2" defaultExtension="cbl"
languageCode="COB" subsystems="CICS,DB2"/>
<ld:langdef name="MY PLI" translators="teamz.my.preprocessor,IBMPLI" defaultExtension="pli"
languageCode="PLI" subsystems=""/>
<ld:deletedsdefs/>
<ld:deletetranslators/>
<ld:deletelangdefs/>
You can nest <langdefrule> and <dsdefrule> to supply association rules that override the defaults.
| Attribute | Description | Default |
|---|---|---|
| projectRoot | Root directory of the zComponent project | The directory where the script is stored. |
| Attribute | Description | Default |
|---|---|---|
| match | The regular expression used for this rule. This is used against the string (zFolder name)/(zFile name); for example COBOL/source.cbl. | None |
| languageDefinition | The name of the language definition you want to associate when the regular expression matches the string (zFolder name) (zFile name). | None |
| Attribute | Description | Default |
|---|---|---|
| match | Regular expression used for this rule. This is used against zFolder name, for example COBOL. | None |
| dataSetDefinition | Data set definition name to be associated with when the regular expression matches. | None |
<ld:resolvemetadata projectRoot="../MortgageApplication-EPSCMORT">
<ld:dsdefrule match="BMS" dataSetDefinition="ASM"/>
<ld:langdefrule match=".*/EPSCSMRT\.cbl$" languageDefinition="COBOL-DYNAM-CICS"/>
<ld:langdefrule match=".*/EPSCMORT\.cbl$" languageDefinition="COBOL-DYNAM-CICS-DB2"/>
</ld:resolvemetadata>