Steps for migrating data from z/OS to Git
When migrating data from z/OS to Git, you may encounter potential issues with migrating non-printable or non-roundtrippable characters. Managing code page conversion describes the background behind these issues, as well as options for how to handle them. Once you have decided on a plan for how to handle potential non-printable and non-roundtrippable characters, you can use the following steps to migrate your data from z/OS to Git:
-
Unload the source code from the legacy version control system to PDS libraries: Legacy version control systems often store data in a proprietary format, which IBM®'s Dependency Based Build (DBB) cannot directly access. Therefore, the source code should first be unloaded to PDS libraries.
-
Load files from PDS libraries to a Git repository on z/OS UNIX System Services (z/OS UNIX) using one of the following methods:
- DBB migration tool: The DBB migration tool is provided with DBB, and is the most commonly-used method for migrating data from z/OS to Git.
- SCLM-to-Git migration tool: You can use the SCLM-to-Git migration tool if you are moving away from SCLM as your current library manager.
- Manual migration: Manual migration of source code from z/OS to Git is possible, but is generally not recommended since it tends to be slower, more tedious, and prone to human error.
-
Synchronize the new repository on z/OS UNIX with a remote repository on your chosen enterprise Git service provider.