I have started to look at an Orca script to create our pbl libraries and import source (boot strapping).
This is based on Bruce Armstrong's blog (https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/175-continuous-integration-with-powerbuilder-2017-bonobo-git-and-jenkins)
So my orca script is
start session set debug true scc set connect property logfile _log scc connect offline scc set target _target refresh_all importonly ;scc set target _target importonly ;scc exclude liblist "pbdom\pbdom170.pbd" scc refresh target migrate ;scc refresh target 3pass scc close end session
My libraries get created. However this errors on my first library at import with this error, so my libraries end up empty;
PBORCA_SccRefreshTarget. Migrate and Full Rebuild Calling cm_rebuild_application(CM_REBUILD_MIGRATE). Library: c:\jenkins\workspace\sample\desktop\lol\desktop\crsapp\crsapp.pbl Object: crs Forward Declarations (0004): Error C0001: Illegal data type: n_tr Errors encountered during import/compile. Check SMS log. PBORCA_SccClose
This refers to my global application transaction declaration (n_tr) for SQLCA. It appears that Orca does not handle global declarations, as the data type referred to has not been imported yet.
I can see several posts reporting this same issue over the years, but with no resolution posted that I can find. Not using orca but purchasing Powergen appears to be a solution.
Is there a solution or workaround for this.