Skip to content

Tool to migrate source members to streamfiles

License

Notifications You must be signed in to change notification settings

thebeardedgeek/migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

migrate

Tool to migrate source members to streamfiles.

Installation

  1. git clone this repository
  2. Run gmake (available from yum)

Usage instructions

  1. ADDLIBLE MIGRATE (or whatever library you built into)
  2. MIGSRCPF has three parameters.
    1. LIBRARY is the library with the source members
    2. SOURCEPF is the source physical file with the source members
    3. OUTDIR 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.

Examples

MIGSRCPF LIBRARY(TESTPROJ) SOURCEPF(QRPGLESRC) OUTDIR('/mydir')
MIGSRCPF LIBRARY(DEVLIB) SOURCEPF(QRPGLESRC) OUTDIR('/myrepo')
MIGSRCPF LIBRARY(TESTPROJ) SOURCEPF(QRPGLESRC) OUTDIR('/myrepo')

About

Tool to migrate source members to streamfiles

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • RPGLE 84.8%
  • Makefile 11.9%
  • Batchfile 3.3%