Assuming you are backing up the CACHE.DAT files on a regular basis:
- Get a backup from before the routine was deleted.
- Copy the appropriate CACHE.DAT file into a new folder/directory on your system. Preferably a test system.
- Use the Cache System Admin tools to add this CACHE.DAT file as a new database on your system.
- Point Studio at the new database.
- Get your routine and save it to the correct database or export it or whatever.
- Use the Cache System Admin tools to remove this new database.
--Leane