...
I sometimes begin st.cmd with a variation on the following
to avoid a need for st.cmd to change directory.
> epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(TOP)/db")
or
> epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(PWD)/../../db")
or
> epicsEnvSet("EPICS_DB_INCLUDE_PATH", ".:../../db")
(I sometimes put instance specific .db files under "iocBoot/*/" )
Last not least:
When using StreamDevice, I find it reasonable and easy enough to install protocol files using DB_INSTALLS and add
> epicsEnvSet("STREAM_PROTOCOL_PATH", "$(EPICS_DB_INCLUDE_PATH)")
to have Stream find them in the same places.
Cheers,
~Ralph