Synchronize Mainframe Members

The Synchronize Mainframe Members feature allows you to define how Z Understand container synchronizes members from specific mainframe libraries, including adding or removing members in project source files.

Configuration-Driven Synchronization

Synchronization is driven by a configuration file that defines:
  • Which mainframe libraries must be synchronized.
  • The target project into which the members are to be included.
When the Synchronize Members action is run on a project, only the members belonging to the libraries explicitly listed in the configuration file for that project are synchronized. Here is the file path for synchronization configuration file from the dashboard: /opt/wca4z-understand/config/projects/sync_cli.txt

Synchronization Configuration File Format

The configuration file must include the following fields to define the synchronization process:
projectname, PDS(MVS), PDS_LIB_NAME, zOS_Conn, LIB_MEMBER_TYPE, filter(<some_regex>)
Project name
The name of the project that needs to be synchronized with the mainframe system.
PDS(MVS)
Only PDS (MVS) is supported to the type of library from which members are added.
PDS_LIB_NAME

The name of the library against which the synchronization is performed.

zOS_Conn
The name of the connection to the mainframe system, as defined earlier in the dashboard. For more information, see Build Client Install Configuration.
LIB_MEMBER_TYPE
The type of members being synchronized. Supported types are listed in the Member Types table.
  • ASM
  • ASM_MACRO
  • COB
  • COB_INCLUDE
  • PLI
  • PLI_INCLUDE
  • JCL
  • JCL_CTRL
  • JCL_PROC
  • PSB
  • DBD
  • CSD
filter(<some_regex>)
Any valid regex is accepted.

Running the Synchronize Members Command

Use the following CLI command to initiate member synchronization:
./cli.sh --sync MyProject