tool for converting new $SYBASE/interfaces entries back to ancient hex format



I know that the hex format is generally a PITA and that there are perl
scripts to decode it into human-readable form but I actually need a
script that goes the other way, believe it or not. I have been seeing
syslog errors like this one:

Nov 9 16:20:52 longmdf02p5 PDS[2580]: [ID 889192 daemon.error] DB-
Library error: Unknown network type found i
n interface file.

I have been advised that this might be due to an old sybase app that
is using an old bit of dblib that requires the interface file entries
to be in the old hex form. The file contains a mixture of old and new
forms. I want to convert all the entries to the hex format and am
looking for a script that can help. Any pointers please?

Regards,

Andrew Marlow

.



Relevant Pages