Tool to migrate source members to streamfiles.
git clone
this repository- Run
gmake
(available from yum)
- Make sure
5770SS1 option 13
is installed (GO LICPGM
, option 10, review the list of installed LPPs) - Install
gmake
by runningyum install make-gnu
ADDLIBLE MIGRATE
(or whatever library you built into)- Create
OUTDIR()
directory where files will be placed. In the below example it would beCRTDIR '/mydir'
otherwise you will get this error:CPFA0A9 - Object not found
MIGSRCPF
has three parameters.LIBRARY
is the library with the source membersSOURCEPF
is the source physical file with the source membersOUTDIR
is the directory files will be created in. Parameter must not end with a/
(forward slash). For example,/mydir
is valid but/mydir/
is not.
A new directory will be created in your specified output directory with the name of the source physical file, which will then contain the copied source members.
MIGSRCPF LIBRARY(TESTPROJ) SOURCEPF(QRPGLESRC) OUTDIR('/mydir')
MIGSRCPF LIBRARY(DEVLIB) SOURCEPF(QRPGLESRC) OUTDIR('/myrepo')
MIGSRCPF LIBRARY(TESTPROJ) SOURCEPF(QRPGLESRC) OUTDIR('/myrepo')