Building the UNIX or Linux sample application

You build the dapismp sample API application by using a compiler for your operating system.

About this task

You must install the following compilers to build the UNIX or Linux® API sample application:
  • IBM® AIX® - IBM Visual Age compiler version 6 or later
  • HP-IA64 - aCC compiler A.05.50 or later
  • Linux - GCC compiler version 3.3.3 or later
  • Mac OS X - GCC compiler version 4.0 or later
  • Oracle Solaris - Oracle Studio C++ compiler version 11 or later

Procedure

  1. To build the API samples, run the following command:
      gmake -f makesmp[64].xxx 
    Where xxx indicates the operating system.
  2. After you build the samples, set up your environment variables, including the DSMI_DIR, and your options files. For more information, see Understanding configuration and options files.
  3. The first time you log on, log on as the root user to register your password.
    Tip: Setting the compressalways option to no might not resend an object uncompressed. This behavior depends on the application functionality.
    To specify the Shared Memory communications method on AIX, the IBM Storage Protect API client user must comply with one of the following conditions:
    • Must be logged in as the root user.
    • Must have the same UID as the process that is running the IBM Storage Protect server.

    For more information, see the application program documentation.

  4. Run the dapismp command to start the application.
  5. Choose from the list of options that is displayed. Ensure that you run the sign-on action before you run any other actions.
    Requirement: Always prefix the file space, high-level, and low-level names with the correct path delimiter (/) when you enter the name, for example: /myfilespace. You must use this prefix even when you specify the asterisk (*) wildcard character.