Application logic flow

Most Monitor Client Library applications exhibit a logic flow similar to the following:

	allocate a connection
 	set properties on the connection
 	connect
 	loop to create views on the connection
 	loop to create filters (optional)
 	loop to create alarms (optional)
 	loop to refresh connection 
 		for each view 
 			get the row count
 			for each row
 				for each column
 					get the data
 					display the data
 	loop to drop alarms (optional)
 	loop to drop filters (optional)
 	loop to drop views (optional)
 	close monitor connection
 	deallocate or reuse connection

where:

The following sections describe the steps for a basic Monitor Client Library program.The steps are cross referenced to the sample program that follows them.