Offline_Adding resources to a Compuware mainframe project
Resources can be added to a Compuware mainframe project. For online projects, any MVS file, DB2 table, or IMS table can be added to a project. Adding resources to an online project creates linked resources to the mainframe resources. These links are placed in a user-specified directory within the Compuware mainframe project, which can be seen in the Project Explorer view. For offline projects, datasets and members can be added to a project and the resources are copied to the PC into the root of the Compuware mainframe project, which can also be seen in the Project Explorer view.
Resources can be added to online Compuware mainframe projects via Host Explorer or via Project Explorer. Source can be added to offline Compuware mainframe projects via Host Explorer.
Note: In online projects, on the host icon in Project Explorer indicates that the host is undefined or unreachable. This means that the HCI host for the project could not be connected to or is not currently active. Review the Topaz log for possible connection errors and contact your systems administrator if needed.
To use Host Explorer to add resources to a Compuware mainframe project
- In Host Explorer, select one or more resources, right-click, then select either Add Files to Project (when adding MVS files) or Add Tables to Project (when adding DB2 or IMS tables). The Add Files to Project wizard appears. Note: The Add Tables to Project option is also available from the Database Development perspective.
- Do any of the following to select the project to which to add the resources:
- Type the path to the parent folder in the field provided.
- Select the parent folder from the directories listed.
- Click New Folder. The New Folder dialog box appears. Enter a name for the new folder and click OK. The new folder is added to the Add Files to Project wizard. Select it.
- To create a new project, click New Compuware Mainframe Project. Complete the New Compuware Mainframe Project dialog box. The new project is added to the Add Files to Project wizard. Select it.
- Click Finish. The resources are added to the Compuware mainframe project.
- For online projects, these resources are added to the specified directory as linked resources. A linked indicator appears on the resource's icon (for example, ) to indicate that the resource is linked to a mainframe resource, rather than being a downloaded copy. If an entire PDS is added, the linked indicator appears on the PDS; otherwise it appears on each individual member that was added.
- For offline projects, these resources are copied from the z/OS mainframe to the PC into the root of the Compuware mainframe project. Note: If any of the resources contain non-display data, a message box appears advising that the resource not be saved back to the mainframe. Messages are also logged to the Console view.
To use Project Explorer to add resources to an online Compuware mainframe project
Use this functionality to add resources to an existing online project.
- In Project Explorer, right-click a dataset, member, PDS, or online mainframe project folder, and select Add>Datasets or Add>Members, depending on the type of source to be added. The Add Datasets or Add Members dialog box appears.
- Optionally, to change the location in which to add datasets/members, type the location in the Location field or click Browse to navigate to the desired location. By default, the location is the location the user right-clicked in Step 1 above.
Note: Browsing opens the Select Location dialog box. Use the tree to navigate to the desired location and click OK. The Location field on the Add Datasets or Add Members dialog box updates with the specified location. - In the Dataset filter field, enter the filter to use to search for the desired datasets to be added to the project. Then click Search. The datasets that match the filter populate the box below the Dataset filter field.
- Do one of the following:
- On the Add Datasets dialog box, select the datasets to be added to the project.
- On the Add Members dialog box, select the dataset that contains the members to be added to the project. If desired, filter the resulting list of members by entering a filter in the Member filter field. Then select the members to be added to the project.
- Click OK. The resources are added as linked resources to the specified location within the Compuware mainframe project. A linked indicator appears on the resource's icon (for example, ) to indicate that the resource is linked to a mainframe resource, rather than being a downloaded copy. If an entire PDS is added, the linked indicator appears on the PDS; otherwise it appears on each individual member that was added.
Note: Optionally, after selecting a dataset or member, click View to open a selected resource in read-only mode.