Building and running the sample API application
The API package includes sample applications that demonstrate the API function calls in context. Install a sample application and review the source code to understand how you can use the function calls.
Select one of the following sample API application packages:
- The interactive, single-threaded application package (dapi*)
- The multithreaded application package (callmt*)
- The logical object grouping test application (dsmgrp*)
- The event-based retention policy sample application (callevnt)
- The deletion hold sample application (callhold)
- The data retention protection sample application (callret)
- The IBM Spectrum Protect™ data buffer sample program (callbuff)
To help you get started, review the procedure to build the sample dapismp sample application by your platform:
- For UNIX or Linux applications, see UNIX or Linux sample application source files.
- For Windows applications, see Windows 64-bit sample application.
The dapismp sample application creates its own data streams when backing up or archiving objects. It does not read or write objects to the local disk file system. The object name does not correspond to any file on your workstation. The "seed string" that you issue generates a pattern that can be verified when the object is restored or retrieved. Once you compile the sample application and run dapismp to start it, follow the instructions that display on your screen.