migrate
migrate copied to clipboard
Can't build migrate
The CL commands generated by the makefile can't handle the relative pathing the makefile creates.
And if we manually do the commands it errs out with a misleading message. It turns out it needs a TGTCCSID *JOB ...doesn't like the default of *SRC which errs because it can't create a module with a unicode CCSID.
$ system "CRTRPGMOD MODULE(MIGRATE/migsrcpf) SRCSTMF('/home/jwoehr/work/migrate/src/migsrcpf.rpgle') DBGVIEW(*NONE)"
RNS9339: Unable to open file /home/jwoehr/work/migrate/src/migsrcpf.rpgle.
RNS9309: Compilation failed. Module MIGSRCPF not created in library MIGRATE.
$ system "CRTRPGMOD MODULE(MIGRATE/migsrcpf) SRCSTMF('/home/jwoehr/work/migrate/src/migsrcpf.rpgle') TGTCCSID(*JOB) DBGVIEW(*NONE)"
RNS9305: Module MIGSRCPF placed in library MIGRATE. 00 highest severity. Created on 10/01/22 at 22:18:13.
I had the same problem & was at NAViGATE when Liam also had the same problem (and pulled this issue to show how someone had reported it).
Since it hadn't been fixed as of a few days ago, I applied the fixes & it should now build correctly.