Skip to content

Retrieve System Status

The public method Get_System_Status in Scheduling_Utility_API can be used to retrieve the system status of IFS Planning & Scheduling Optimization (PSO) server.

This method accepts three parameters:

  • response_, out parameter of type CLOB, to which the response will be written.
  • response_format_, optional parameter to specify the response format. Possible values are 'XML', 'JSON' and 'IFS_MESSAGE'. If not specified 'IFS_MESSAGE' will be used as the default format.
  • scheduling_config_id_, optional parameter to specify the Configuration ID from Scheduling Optimization and Machine Learning Configuration to use. If not specified the 'DEFAULT' configuration will be used.
  Scheduling_Utility_API.Get_System_Status(response_             => :response_, -- Clob parameter to accept response data  
                                           response_format_      => 'XML'),     -- Requested response format ('XML' / 'JSON' / 'IFS_MESSAGE')  
                                           scheduling_config_id_ => 'DEFAULT'); -- Configuration ID to use  

For the above call, the response may look as following. The response may vary depending on the IFS Planning & Scheduling Optimization (PSO) version being used. For more details about retrieving system status please see the PSO Interface Guide.

<SystemStatus xmlns:i="" xmlns="">  

Tip: The IFS Message response format ('IFS_MESSAGE') allows using existing methods in Message_SYS package to handle the response which may be simpler to use in the PL/SQL code than 'XML' or 'JSON'.