If you need to edit data server files, you can convert
the binary data to text, and then convert the changed text back into
binary format when you return the files to the data server.
About this task
You might want to convert binary data to text because you
need to troubleshoot a problem and you want to see or modify specific
values in the data server. For another example, you might want to
convert the data because you need to set an advanced configuration
option that is not exposed through the user interface.
To
view or make changes to data server files, use the bnsDServerConverter88.exe command
on Windows, or the bnsRun
convert command on AIX®, Linux, or Solaris, to convert
the binary content to text. After you make your changes, you can run
the command again to convert the file back to binary format.
Restrictions: - Use these procedures only if you are working with an
IBM Software Support representative who instructs you to convert data
server files to text for troubleshooting purposes.
- When you convert binary data to text, the utility creates a file
in ASCII format with the extension .txt. When
you run the utility, you specify where the file is to be created.
Be sure to specify a path that is not in the data server directory, Classification_Home/dserverdir.
If text files are in the data server directory, errors are returned.
- You must use a plain text editor to edit the text files. Do not
use a program like Microsoft Excel
to edit the text files because such programs can reformat data incorrectly.
For example, the Excel program might remove surrounding quotes from
fields.
- When the data server is running, the utility issues a request
to the server, which means that you must identify the file that you
want to convert by file name. When the data server is not running,
the utility directly accesses the file that you want to convert, which
means you must specify the full path for the location of the binary
data server file.
- You can convert an individual binary file or all files
in the data server directory. But you must use the same method for
converting the binary data to text and then converting the text back
to binary format. For example, if you convert an individual binary
file, you must convert the individual text file back to binary format.
You cannot convert an individual binary file to text format and then
try to convert the directory in which the text file is located back
to binary format.