About changing Preferences setting in ZOS-API

  • 29 June 2021
  • 0 replies
  • 60 views

Userlevel 6
Badge +2

Here are some notes for references if you are trying to change the preferences settings in ZOS-API!




  1. The ZOSAPI.IZOSAPI_Connection.PreferencesFile only works in standalone mode and not in other 3 modes.




  2. When you didn't specify a PreferenceFile (or when the given path is wrong), all settings in the preferences cannot be changed by API. In other words, only in standalone mode, you can change preferences settings.




  3. The only way to read a second preferencesFile is to close the current IZOSAPI_Application, change the path, and reconstruct the IZOSAPI_Application. In other words, I cannot read a new PreferenceFile in real time when I’m opening a file via ZOS-API in the standalone application mode.




Best regards,


Michael


0 replies

Be the first to reply!

Reply