Chapter 11. Exits 263
11.5  Customized functions (Multiplatforms and z/OS only)
The user exits provide customized ways to perform tasks in Content Manager OnDemand. 
Y ou can use a user exit to customize logins, retrieve data from external locations, or send a 
notification when a document is loaded. Programming of the user exits is an IBM Lab 
Services offering; for more information, contact IBM Lab Services. 
Y ou can also use the sample exit source code to write your own exits. In this section, we 
describe each sample exit that is provided in the standard Content Manager OnDemand 
installation.
The sample source code for the Content Manager OnDemand user exits is provided for all of 
the platforms. They are placed in the directories or libraries of Content Manager OnDemand 
that are listed in Table 11-1. These sample user exit modules provide a skeleton for you to 
program the exits.
Table 11-1   Exits and their initial locations
The header file provides information about how to turn on the user exits. If the information is 
not specified in the header file, place the compiled user exit program into the bin/exits 
directory of the Content Manager OnDemand installation root. 
The source code must be compiled before you use it. For UNIX platforms, you can compile 
the source code by using the sample makefile that is provided. The makefile is in the same 
exits directory as the sample exits source code.
Table 11-2 provides the functions and usage of the user exit modules.
Table 11-2   User exits module
Module Location
arsuload
arsuprep
arsuupdt
arsutbl
Content Manager OnDemand V8.5:
/SM590000Windows: C:\Program Files\IBM\OnDemand for Windows\bin\exits
/SM590000AIX: /usr/lpp/ars/bin/exits
/SM590000Solaris, HPUX, and Linux: /opt/ondemand/bin/exits
/SM590000z/OS: /usr/lpp/ars/exits or ARS.V8R5M0.SARSINST
Content Manager OnDemand V9.0:
/SM590000Windows: C:\Program Files\IBM\OnDemand for Windows\V9.0\bin\exits
/SM590000AIX, Solaris, and HPUX: /opt/IBM/ondemand/V9.0/bin/exits
/SM590000Linux and Linux on System z: /opt/ibm/ondemand/V9.0/bin
/SM590000z/OS: /usr/lpp/ars/V9R0M0/exits or ARS.V9R0M0.SARSINST
Content Manager OnDemand V9.5:
/SM590000Windows: C:\Program Files\IBM\OnDemand for Windows\V9.5\bin\exits
/SM590000AIX, Solaris, and HPUX: /opt/IBM/ondemand/V9.5/bin/exits
/SM590000Linux and Linux on System z: /opt/ibm/ondemand/V9.5/bin
/SM590000z/OS: /usr/lpp/ars/V9R5M0/exits or ARS.V9R5M0.SARSINST
Module Function Usage
arsuload LOADEXIT To obtain load information for notification
arsuprep PREPEXIT To preprocess document data before document retrieval
arsuupdt ARSUUPDT To alter parameters when document data is captured by ARSLOAD
arsutbl TBLSPCRT To customize the creation of table spaces, tables, and indexes