migrate icon indicating copy to clipboard operation
migrate copied to clipboard

Can't build migrate

Open jwoehr opened this issue 3 years ago • 2 comments

The CL commands generated by the makefile can't handle the relative pathing the makefile creates.

jwoehr avatar Oct 02 '22 02:10 jwoehr

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.

jwoehr avatar Oct 02 '22 02:10 jwoehr

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.

icecreamville avatar Oct 21 '22 01:10 icecreamville