model_db_set_machine_cpp (ul_model)

	status.i4.v = model_db_set_machine_cpp(machine.i4.v, step.i4.v,
					       client.i1a.r)

	This routine selects a particular machine and lattice. These
	parameters are then used in subsequent model_db_xxx calls.
	All calls to other model_db_XXX routines will get data for
	this machine/lattice configuration until another call to
	'model_db_set_machine_cpp' is made.

	machine		machine you wish to get data from
			(MODEL_TEV_RUN_I -> Tevatron Run I,
			 MODEL_TEV -> Tevatron Collider mode,
			 MODEL_TEV_FIXED_TARGET -> Tevatron fixed target mode,
			 MODEL_MAIN_INJECTOR-> Main Injector,  
			 MODEL_8GEV_LINE -> MI-8 Line,
			 MODEL_RECYCLER -> Recycler,
			 MODEL_ACCUMULATOR -> Accumulator,
			 MODEL_AP2_LINE -> AP2 Line,
			 MODEL_400MEV_LINE -> 400 MeV Line)
			(constants are in 'ul_model:model_config')
	lattice		ID of the lattice you want
			(valid values depend on the choice of machine)
			(constants are in 'ul_model:model_config')
	client		name of the client that defines the names for the
			elements in this lattice
			(default is "OLMDB")

	This function returns ACNET status values as follows:

	OK			success
	CBS_INVARG		invalid machine/lattice value
	otherwise		ACNET format error code

	This function requires the following include files:

	ul_model_h:model_config_h, acnet_errors_h

	Related functions:

	model_db_set_machine, model_db_query, model_db_query_name

	C/C++ usage:

	static const char	client[] = "OLMDB";
	int	status;
	int	machine = MODEL_MAIN_INJECTOR;
	int	lattice = MI_8_GEV;

	status = model_db_set_machine_cpp(machine,lattice,client);