An open API service indexing awesome lists of open source software.

https://github.com/worksofliam/migrate

Tool to migrate source members to streamfiles
https://github.com/worksofliam/migrate

Last synced: 5 months ago
JSON representation

Tool to migrate source members to streamfiles

Awesome Lists containing this project

README

          

# 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')
```