The task imports files from z/VM® based source control systems into the IBM Engineering Workflow Management® (EWM) source control system so that the files are accessible to Enterprise Extensions® (EE) build facilities.
There are two pairs of functions that can perform: EXTRACT and DELIVER or EXTRACT_UPDATE and DELIVER_UPDATE. An EXTRACT function extracts source code from z/VM and formats it for the EWM source control system. A DELIVER function delivers the extracted code to the specified EWM stream.
EXTRACT
The EXTRACT function is used to initially import z/VM based source control into EWM source control. It assumes that the z/VM based source control content is not presently in EWM or that the current copy can be overlaid. It is meant to be used for a complete migration of the z/VM based source control content into EWM. EXTRACT can be run repeatedly, but each time it is run, it will completely replace the previous copy of the imported source. EXTRACT performs the following tasks:
OBJECTS file
DELIVER
The DELIVER function is used to deliver the source code data created by the EXTRACT function to the EWM server. DELIVER performs the following tasks:
EXTRACT
EXTRACT_UPDATE
The EXTRACT_UPDATE function is used to incrementally import z/VM based source control changes into the EWM source control system. It assumes that the z/VM based source has been loaded into EWM and that only incremental updates to the source need to be processed. The EXTRACT_UPDATE function updates the current copy of the source with the specified changes; it does not replace the current copy. EXTRACT_UPDATE performs the following tasks:
OBJECTS file
There are two methods for processing updates: complete and incremental. The complete method imports all of the code using the full OBJECTS file used for the original EXTRACT. This method lets EWM determine what parts have changed and what changes to deliver. The incremental method uses two OBJECTS files, the full OBJECTS file used for the original EXTRACT to determine project layout and contents and an updates OBJECTS file which lists the parts that have changed. This method lets the user determine what parts have changed and what changes to deliver. Specify the zvmRelease attribute when using the complete method and both the zvmRelease and zvmUpdates attributes when using the incremental method.
DELIVER_UPDATE
The DELIVER_UPDATE function is used to deliver the source code data created by the EXTRACT_UPDATE function to the EWM server. DELIVER_UPDATE performs the following tasks:
The task supports Build Extensions Debugging Attributes and Build Extensions General Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Attribute | Description | Required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| function |
The function that is to perform. Specify one of the four valid functions:
|
Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| root |
The root directory for the build. The root directory is where components, projects, and zFolders needed for the migration are created. The value of this attribute is typically ${team.scm.fetchDestination} because that property is built-in when using the Jazz Build Engine. If this attribute is not specified, it will default to the "root" sub-directory of the Ant base directory for the project. For example: if the path to the project is C:\MyFolder\MyProject.xml, the root directory will be C:\MyFolder\root\.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| work |
The work directory for the build. The work directory is used for temporary files created by . If this attribute is not specified, it will default to the ".work" sub-directory of the root directory. For example: if the root directory is C:\MyFolder\root\ the work directory will be C:\MyFolder\root\.work\.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doCharsNS |
This option controls how "carets" (^) and "not-signs" (¬) are converted from host encoding to the UTF-8 encoding that is used by EWM. Valid values are true and false.
If
If
The default is
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doCharsSB |
This option controls how square brackets characters ([]) are converted from host encoding to the UTF-8 encoding that is used by EWM. Valid values are true and false.
If
If
The default is
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doCreates |
This option controls whether or not a directory structure for the components and projects defined in the rtcComponents XML is created when processing an EXTRACT_UPDATE function. Valid values are true and false. Code true when the EXTRACT_UPDATE function is used to deliver new projects to a component. The default is false. When doDeletes is set to true, doCreates should also be set to true.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doDeletes |
This option controls whether or not the directory structure for the components and projects defined in the rtcComponents XML is deleted when processing an EXTRACT_UPDATE function. Valid values are true and false. Code true when the EXTRACT_UPDATE function is used to deliver new projects to a component. The default is false.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doFormats |
This option controls whether or not source formatting takes place and is a master switch that controls doCharsNS, doCharsSB, doNumbers, doReplace, and doSymbols processing. Valid values are true and false. The default is false. This option must be set to true when doCharsNS, doCharsSB, doNumbers, doReplace, or doSymbols is enabled to have the source formatting take place.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doNumbers |
This option controls whether or not sequence numbers are removed from source code files. Valid values are true and false. If true, sequence numbers are removed during the extract process. The default is false.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doReplace |
This option controls whether or not DTL compiler attributes are replaced in ISPF panel files. Valid values are true and false. If true, DTL compiler attributes are replaced with printable characters during the extract process. The default is false.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doSymbols |
This option controls whether or not symbolic replacements are performed on source code files. Valid values are true and false. If true, symbolic replacements are performed during the extract process. The default is false.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doSymbolsTesting |
This option controls whether or not test symbols are included in the symbolic replacement process. Valid values are true and false. If true, symbolic replacements, which include test symbols, are performed during the extract process. The default is false.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doWorkspaceDeliver |
This option controls whether or not a workspace deliver is issued for the DELIVER_UPDATE function. Valid values are true and false. Code true to deliver the entire workspace when the DELIVER_UPDATE function is processed. The default is false, only changed components will be delivered when processing a DELIVER_UPDATE function.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| failOnCnfError |
This option controls whether or not the build fails when an error is encountered in the configuration data. Valid values are true and false. Specify true to fail the build when an error in the configuration data is encountered. Specify false (the default) to ignore the error and continue the build.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fileOnScmError |
This option controls whether or not the build fails when an SCM error is encountered. Valid values are true and false. Specify true to fail the build when an SCM error is encountered. Specify false (the default) to ignore the error and continue the build.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| requestThreadCnt |
This option controls the number of files processed by an EXTRACT thread. Specify an integer between 1 and 1000. The default is 100. Values larger than 1000 are limited to 1000. Use the requestThreadCnt and requestThreadMax to tune the EXTRACT process.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| requestThreadMax |
This option controls the number of concurrent threads used by the EXTRACT process. Specify an integer between 1 and 32. The default is 6. Values larger than 32 are limited to 32. Use the requestThreadCnt and requestThreadMax to tune the import process.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| requestTimeoutInt |
This option controls the time out interval on a EXTRACT process thread. Specify an integer between 1 and 600. The default is 120. Values larger than 600 are limited to 600. This setting controls how long the EXTRACT process will wait for a thread to complete processing before giving up and ending the process. A thread completes when it has processed all assigned files. The number of files assigned to a thread is controlled by the requestThreadCnt attribute.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcCheckinOnly |
This option controls whether or not the DELIVER and DELIVER_UPDATE processes actually deliver the changes to the EWM server. Valid values are true and false. Code true to stop the delivery process after the changes are checked in. The default is false. This option should be used only when debugging the deliver process.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcComponents | Specifies the fully qualified path on the build engine to the components XML file. | Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcPassword | Specifies the encrypted password to use when logging into the EWM server. | Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcProcessArea |
Specifies the name of an EWM process area where the source control stream and components are defined. Process areas are specified in path form: the first segment should be the name of the project area, the following segments should be the names of team areas. In the simplest case, where the process area is the project area, simply specify the project area name. In more complex cases, where the process area is in a project team area, specify the project area name ("zVMImportTests") and the team area name ("zVMImportTests.team.area") in path form with a forward slash separating the names. For example: zVMImportTests/zVMImportTests.team.area
|
Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcScmConfig |
Specifies the fully qualified path on the build engine to the SCM configuration directory. This attribute is optional. The default location is: user_home/.jazz-scm
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcScmTool | Specifies the fully qualified path on the build engine to the SCM module. | Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcServer |
Specifies the address of the team repository to use. The value of this attribute is typically ${repositoryAddress} because that property is built-in when using the Jazz Build Engine.
|
Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcStream |
Specifies the name of the EWM stream where components and changes are delivered. Note: The stream specified here must be owned by the specified rtcProcessArea. |
YesD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcUser | Specifies the user ID for authentication to the repository. | Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rtcWorkspace |
Specifies the name of the workspace to use. The specified workspace name must identify a workspace that exists and is unique. Note: The workspace specified here must be owned by the specified rtcUser. |
Yes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmCodePage | Specifies the name of the z/VM FTP code page to use when retrieving a file. The default is WW200037, the IBM-037 code page. Specify WW201047, or an equivalent, for the IBM-1047 code page. | No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmHost | Specifies the URL of the z/VM host. | YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmLanguageXml | Specifies the fully qualified path on the build engine to the languages XML file. | YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmObjectsDisk |
Specifies the z/VM VDEV (virtual device address) for the disk that contains OBJECTS file. This VDEV should be linked in the directory entry for the specified zvmUser. When FTP transfers a file from z/VM, it is referenced by filename and filetype on minidisk "zvmUser.vdev". Therefore, all VDEV attributes specified here must be included in the zvmUser directory entry. Note: the minidisk need not be owned by the zvmUser, all that is required is that the zvmUser have a link to the minidisk in their directory entry.
|
YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmPassword | Specifies the encrypted password to use when logging onto the z/VM system. | YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmProductBase | Specifies the z/VM VDEV (virtual device address) for the product base disk. When FTP transfers a file from z/VM, it is referenced by filename and filetype on minidisk "zvmUser.vdev". Therefore, all VDEV attributes specified here must be included in the zvmUser directory entry. | YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmProductDisk | Specifies the z/VM VDEV (virtual device address) for the product disk. When FTP transfers a file from z/VM, it is referenced by filename and filetype on minidisk "zvmUser.vdev". Therefore, all VDEV attributes specified here must be included in the zvmUser directory entry. | YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmRelease |
Specifies the z/VM filename for the OBJECTS file.
|
YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmSymbols | Specifies the fully qualified path on the build engine to the symbols file. | No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmUpdatesFile |
Specifies the z/VM filename for the updates OBJECTS file for an EXTRACT_UPDATE function.
|
No | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| zvmUser | Specifies the user ID for authentication to the z/VM system. | YesE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ERequired for EXTRACT only.
DRequired for DELIVER only.
The Languages XML file describes the languages that will be extracted and delivered by . The Languages XML file has two elements: <languages> and <language>. The <languages> element is a container for any number of <language> elements. A language element describes how zVMIport will process a language file. Each language included in the import needs to be described in the Languages XML file. The following table describes the valid values for the language element attributes:
| Languages XML File | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Attribute | Description | Required | ||||||||||||||||||||||||||||||||||||||
| type | Language type. User defined. | Yes | ||||||||||||||||||||||||||||||||||||||
| subtype | Language subtype. User defined. | Yes | ||||||||||||||||||||||||||||||||||||||
| fileExtension | Language file extension. User defined. | Yes | ||||||||||||||||||||||||||||||||||||||
| fileDirectory | Language file directory (folder). User defined. This is the name of the zFolder where the file should be placed. This folder will have a parent folder of zOSsrc. | Yes | ||||||||||||||||||||||||||||||||||||||
| fileFolderMcs | Default MCS part type for folder. Valid MCS part type. For example: ++MOD. See SMP/E documentation for more information on valid MCS (Modification Control Statement) part types. | Yes | ||||||||||||||||||||||||||||||||||||||
| fileFolderUpd |
Default source update setting for folder. Valid values are true and false.
|
Yes | ||||||||||||||||||||||||||||||||||||||
| fileLineFilter |
This option controls whether or not FTP filtering takes place for DTL compiler attributes which are to be replaced in ISPF panel files. Valid values are true and false. If true, DTL compiler attributes are replaced with printable characters during the extract process. The default is false. Set doReplace to true when using this option.
|
Yes | ||||||||||||||||||||||||||||||||||||||
| fileLongRecord |
Specifies that files associated with the language will have records longer than 80 characters. Valid values are true and false.
|
Yes | ||||||||||||||||||||||||||||||||||||||
| compilerParms |
Specifies that files associated with the language will have a compiler
When this attribute is set to
This variable can be used with compiler translators to set RENT/NORENT parameters for the compiler for individual files. Set the default value of |
Yes | ||||||||||||||||||||||||||||||||||||||
| formattingOpt |
Language formatting option. Valid values are:
|
Yes | ||||||||||||||||||||||||||||||||||||||
| linkEditAmode |
Specifies that files associated with the language will have a link edit
When this attribute is set to AMODE=31,NCAL,LIST,REUS=SERIAL,XREF.
|
Yes | ||||||||||||||||||||||||||||||||||||||
| packageLEParm |
Specifies that files associated with the language will have a packaging link edit parameter. Valid values are
When this attribute is set to
If the file has a reusType value of
If the file has a reusType value of |
Yes | ||||||||||||||||||||||||||||||||||||||