Installing the jpubs Database

If you installed the Japanese language module with your server, you can run the installjpubs script to install jpubs, which is a database similar to pubs2 that contains Japanese data. installjpubs uses the EUC-JIS (eucjis), UTF-8 (utf8), or the Shift-JIS (sjis) character sets.

Prerequisites
Copy the original installjpubs script, in case you experience problems with the edited script.
Task
  1. Set your terminal to display 8-bit characters.
  2. Verify that the EUC-JIS, Shift-JIS, or the UTF-8 character set is installed either as the SAP ASE default character set or as an additional character set.
  3. Determine the type (raw partition, logical volume, operating system file, and so on) and location of the device where you will be storing the jpubs database. You will need to provide this information later.
  4. Execute the installjpubs script, using the -J flag to ensure that the database is installed with the correct character set:
    isql -Usa -Ppassword -Sservername -Jeucjis \
     -i $SYBASE/$SYBASE_ASE/scripts/eucjis/installjpubs
    isql -Usa -Ppassword -Sservername -Jeucjis \
     -i %SYBASE%\%SYBASE_ASE%\scripts\eucjis\installjpubs
    or:
    isql -Usa -Ppassword -Sservername -Jsjis \
     -i $SYBASE/$SYBASE_ASE/scripts/sjis/installjpubs
    isql -Usa -Ppassword -Sservername -Jsjis \
     -i %SYBASE%\%SYBASE_ASE%\scripts\sjis\installjpubs

    For more information on the -J option in isql, see the Utility Guide.