Thanks for sharing your experience, Chris.
The real challenge here is getting focus on the issue and getting it resolved. Because of the sensitive nature of source code, opening a reproducible case through submitting full source code is not an option. Creating a case by simulating the situation is a hit or miss time consuming operation of dubious outcome.
It is real important for my current project to implement automated building. I will next try using Roland Smith's ORCAApi. It bypasses ORCAScript and goes directly to the ORCA API.
I know the IDE has certain 'privileges' because dashes-in-identifiers compiling is supported in the IDE and NOT supported by ORCA. It may have others, such as long library lists, too.
Seems like Very Large Apps and PowerBuilder Compiling is uncharted water.
Anyone else have an experience to share?