Adding artifacts to Engineering Workflow Management
Adding an artifact to IBM® Engineering Workflow Management involves taking an artifact that you created using IBM Developer for z/OS® and making it available to IBM Engineering Workflow Management source control management.
For this example, you create COBOL program using IBM Developer for z/OS and add it to your Engineering Workflow Management repository for source control. You can add MVS subproject members from IBM Developer for z/OS to Engineering Workflow Management using the Share members as zFiles wizard.
Complete the following steps. (These steps use examples from the tutorial as illustrations.)
- From the Remote Systems view, select the COBOL program you created
in the load part of the example, right-click, and select Create
PDS Member.

- Enter a name for your new COBOL program in the Member
Name field of the New PDS Member panel
and click Finish. For this example, the name
of the new program is Goodbye. Your new COBOL program appears in the same data set as your

HELLO.cblprogram.
- Add the new program to your MVS subproject by dragging it
from the Remote Systems view and dropping it onto the subproject in the z/OS
Projects view.
Note: The new program BGREEN.BLD.COBOL(GOODBYE.cbl) does not have the gold file decorator that BGREEN.BLD.COBOL(HELLO.cbl) has because it is not under Engineering Workflow Management source control yet.
- From the MVS subproject in the z/OS
Projects view, right-click BGREEN.BLD.COBOL(GOODBYE.cbl) and
select .

- By default, the name of the program being added is preselected on the first panel of the Share members as zFiles wizard. Click Next.
- Select the zComponent project to which you want to share the new program and click
Next. You can also create a zComponent project, but this example uses the
project created in Using an
Ant with Enterprise Extensions build to compile a COBOL application.

- On the Share zComponent Project to Jazz Repository panel, select the same
component that contains the HELLO.cbl program. Click
Next.

- From the Specify Build Context panel, click Browse and select a build
definition. For this example, select Mortgage Team Build. Click OK> Next. The build definition is associated with the Engineering Workflow Management repository workspace.
Note: After you run either the Load zFiles to z/OS wizard or Share members as zFiles wizard and you choose a build definition for a repository workspace, the build definition will be associated to that repository workspace. Any subsequent runs of the wizards display the associated build definition details, but you cannot change them. You can clear the build context by disconnecting all the members. - A build definition normally specifies the prefix that the team build uses. To make sure that you can work on your artifacts in isolation, change the prefix that is specified in the build definition to your own prefix. To modify the prefix, select team.enterprise.scm.resourcePrefix from the Build Properties list and click Edit.
- On the Select Property Type panel, select String
from the list of new property types and click OK.

- On the Edit Build Request Property panel, change the value from your team
build prefix to your prefix and click OK. (For this example, the value
changes to BGREEN.BLD.)
Important: Make sure that the credentials you used to make the RSE connection to the host have the authority to create and modify a data set with the prefix you set in the value field. - Click Next.
When the new program is added to the zComponent project it is placed into a zFolder. That zFolder must be associated to a data set definition.

- On the Associate Data Set Definitions panel, click the <...> button under the Browse heading.
- Select the COBOL data set definition and
click OK.

- You can also associate language definitions when you associate data set definitions. If you do not associate language definitions here, you must associate language definitions for all the files you want built before requesting a build.
- On the updated Associate Data Set Definitions panel,
verify that the repository data set definition is correct. For this
example, it is COBOL.

- On the last page of the Share members as zFiles wizard, you have the option of copying or moving members. If you choose copy, the member stays in its original data set and a copy is placed in the new location specified by the data set definition and prefix. If you choose move, the member is moved and deleted from the original data set.
- Click Finish.
Verifying that the share was successful
From the Project Explorer, confirm that the GOODBYE.cbl program has been added to the zComponent project.