migrate
migrate copied to clipboard
Tool to migrate source members to streamfiles
migrate
Tool to migrate source members to streamfiles.
Installation
git clonethis repository- Run
gmake(available from yum)
Usage instructions
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.
Examples
MIGSRCPF LIBRARY(TESTPROJ) SOURCEPF(QRPGLESRC) OUTDIR('/mydir')
MIGSRCPF LIBRARY(DEVLIB) SOURCEPF(QRPGLESRC) OUTDIR('/myrepo')
MIGSRCPF LIBRARY(TESTPROJ) SOURCEPF(QRPGLESRC) OUTDIR('/myrepo')