Tivoli Header

Tivoli Storage Manager Using the Application Program Interface

NetWare Operating System

Table 5 lists the source files and other files that you need to build the sample application that is included with the API package.

Table 5. Files That You Need to Build the NetWare API Sample Application

File Names
Description
readme.api
Readme file
dsmapifp.h
dsmapitd.h
dsmapips.h


dsmrc.h
release.h


Function prototype header file
Common type definitions header file
Operating system-specific type definitions
header file
Return codes header file
Release values header file
dsmapi.nlm
API loadable module
dapibkup.c
dapidata.h
dapiinit.c
dapipref.c
dapiproc.c
dapiproc.h
dapipw.c
dapiqry.c
dapirc.c
dapismp.c
dapismp.lnk
dapismp.mtw
dapismp.nlm
dapitype.h
dapinwut.c
dapiutil.c
dapiutil.h
Source code files for a sample application that demonstrates the use of the major API functions
callmt1.c
callmt2.c
callmt1.mtw
callmt2.mtw

Multi-threaded sample files


Makefiles to build multi-threaded samples for
your operating system

Note:
Ensure that the following files are installed on your NetWare server before you run the dapismp.nlm sample application:
acpwsaas.nlm
acpwsrvs.nlm
acpwtcps.nlm
dapismp.nlm
dscameng.txt
dsm.smp
dsmapi.nlm
Follow these steps to compile the sample application and test the installation:
  1. When your makefile and Code Warrior compiler are ready, enter:
       make /f dapismp.mtw
    

    The compiler messages display until the compile completes.

  2. Copy the dapismp.nlm file to the NetWare server.
  3. Copy the dsm.smp file to your dsm.opt file.
  4. Edit your dsm.opt file and enter values for the commmethod and nodename options.
  5. Enter values for the options that relate to the specific communication method you are using.
  6. At the NetWare console, enter:
       search add sys:\adsm\api
    
  7. To start the sample application and run dapismp, enter:
       load dapismp
    

Continue with "Running the Sample Application".


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]