I'm explicitly calling a function from dbc's stored procedures somewhere in code. The compiler, however, doesn't see this function and reports an error. I can safely ignore that error, but it's sort of cumbersome to do in an automated build.
So I tried to declare it as external procedure. Worked when I compiled manually, but for some reason it wouldn't, when I do an automated build - I get the usual suspend-cancel-ignore dialog. Ignore works, but I want to get rid of the error altogether.
Then I tried to add it as a dummy procedure immediately below the procedure which calls it. This compiled fine, but this dummy procedure was called instead of the stored procedure - not good, or at least not what I wanted.
What worked was a dummy prg with the same name. That satisfied the compiler, and is very low on the totem pole, far below the SPs in the currently set("database"). All works now.
Just thought I should share this.