Environment setup

Top  Previous  Next

The first step of the migration is the working environment setup on the target system. This environment contains both the deployment directories and the migration directories. It should be self-contained, thus allowing to allow an easy deployment on another system (i.e. the customer one).

This is the environment we suggest

HOME
+-- bin                                utilities
+-- bms                                BMS sources
+-- cpy                                COBOL copybooks
+-- etc                                configuration files
+-- data                                XVSAM repository
+-- jcl                                converted jobs (scripts)
+-- lib                                user shared libraries
+-- logs                                logs repository
+-- objs                                compiled objects
|     +-- int                        COBOL objects with debug
|     +-- gnt                        COBOL objects without debug
|
+-- proc                                converted procs (scripts
+-- src                                program sources
|     +-- tp                        COBOL CICS sources
|     +-- batch                        COBOL batch sources
|     +-- ...                        more libraries
|
+-- sdf                                compiled BMS objects
+-- tmp                                temp directory
|
+-- fromhost                        migration workspace

All the migrating items should be stored in the fromhost directory, with a structure that reflects the deployment environment (HOME).

The items in fromhost have to be processed with automated scripts to populate the deployment. We suggest to use ANT (http://ant.apache.org) to apply massive processes on the sources.