OK, maybe the first post was a bit confusing. Here's my sqlhosts from my new server:
# dbservername nettype hostname servicename
onl_up01shm onipcshm uprod01 localserver
onl_up01 onsoctcp uprod01 sqlexec
onl_ux5 onsoctcp skyux5 sqlexec
Skyux5 is my old server, uprod01 is my new server. The 4gl code uses 'database@onl_ux5' to connect to the database.
How do I get my 4gl code that used to reside on the skyux5 server and is accessing tables using 'database@onl_ux5' to now connect to my new uprod01 server and still think they're connected to onl_ux5?
I've tried changing the hostname is sqlhosts from skyux5 to uprod01 and adding an entry for DBSERVERALIAS in onconfig - nothing.