Support for data retrieval, manipulation, and return

This topic affects the design of am_getnext, am_insert, am_delete, and am_update.