dbrmc(emc.u1a.r, work_area.i1a.r, retrieval_index.i2.r, error.i2.r)

	This routine adds a request for the Device Index (DI) corresponding
	to the given Event Message Code (EMC) to the request list being built 
	in the database work area array.  The returned data (retrieved by
	dbget or dbgeti) is the 32-bit Device Index.

	emc		8-byte array Event Message Code for which the
			corresponding Device Index is to be returned
	work_area  	database work area array
	retrieval_index	returned retrieval index for the returned Device Index
			This value must be retained for calls to 'dbget(i)'.
	error		standard ACNET error/success return

	This function requires the following include files:


	Related functions:

	dbproc, dbget, dbgeti, dbwain, dbrdi, dbreq, dbareq, dbrpdb, dbsize