Have you ever wondered where the system stores information about a command’s previous assistance level, or Query/400’s last-used query and file libraries, or PDM’s default options? Have you ever needed to store your own settings on a per-user basis in one of your applications? If the answer is yes to any of these questions, please read on, because this and a future installment of APIs by Example provide information about these topics.
Let’s begin with storing application-specific data for persistent options and settings for a specific user profile. In V5R3, IBM added three User Application Information APIs that let you store, retrieve, and remove this type of information in a consistent and robust way, throughout all your applications.