1. Is there a compile option that would embedded all code in the generated program instead of embedding 2E priority programs?
2. Program in RUNTIME library provides support when 2E RPG program runs but would it be possible to embed all logic in compiled RPG program so 2E RPG program can run without RUNTIME library?
Release : 8.7
Currently this is not possible. You would need 2E runtime library for the 2E RPG programs.