OSI/MHS Management Programming Manual

OSI/MHS Management Programming Manual424824-001
C-1
C
Examples
This appendix contains the following examples:
SPI example in TAL and TACL shows how to:
Open the MHS manager
Build SPI command buffer
Initialize and set the command buffer
Issue a command and check the reply
Close the MHS manager
Exit
Command file to load all definitions and compile the files
EMS filter
EMS template example that shows how to:
Create the dictionary
Create the EMS template source
Compile the EMS template source
Create the EMS template file
Start the EMS printing distributor
Password server example that shows how:
MHS manager process and MRP and MS processes open the password server
Password server receives requests from MRP processes to validate or generate
parameters
Password server receives MS bind and register-MS requests from MS processes
Password server receives requests from the MHS manager process to add,
modify, or delete password information
Password server validates the structure of the password request
Macro to create the SQL files needed for the password server example
SPI Example in TACL
The source code for this example is provided in the file EXSPITL1 on the OSI/MHS
installation subvolume.