QSRSAVO API
You can use the Save Objects List (QSRSAVO) application programming interface (API) to save multiple objects.
The QSRSAVO API is similar to the SAVOBJ command except that you can associate a specific object type with each object name that you specify. This provides more granularity in what you save with a single command. The QSRSAVO API also allows you to save one or more user profiles.
Parent topic:
Saving objects with the SAVOBJ command