Re: setting up hosts file entries in such a way to avoid giving TPID in BTEQ scripts
I find it odd that you mention inclusion of TDPID as a security issue but you're OK with including username and password both in clear text.
BTEQ uses CLI so ignores odbc.ini. And you should never specify the same TDPID prefix (dbc in your example) for multiple systems in /etc/hosts entries.
But to answer your question, you can have multiple clispb.dat files, each with a different value for default i_dbcpath (prod and dev, in your example, instead of dbc). Change the COPLIB environment variable to specify the path in which the appropriate clispb.dat can be found, before you invoke BTEQ.