Tool to migrate source members to streamfiles.
git clonethis repository- Run
gmake(available from yum)
ADDLIBLE MIGRATE(or whatever library you built into)MIGSRCPFhas three parameters.LIBRARYis the library with the source membersSOURCEPFis the source physical file with the source membersOUTDIRis the directory files will be created in. Parameter must not end with a/(forward slash). For example,/mydiris 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')