Tool to migrate source members to streamfiles.
git clone
this repository- Run
gmake
(available from yum)
ADDLIBLE MIGRATE
(or whatever library you built into)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')