dm_api_status_set Subroutine

public subroutine dm_api_status_set(status, version, dmpack, host, server, timestamp, message, error)

Sets attributes of API status type. This routine does not validate the arguments.

Arguments

Type IntentOptional Attributes Name
type(api_status_type), intent(inout) :: status

API status type.

character(len=*), intent(in), optional :: version

Server application version.

character(len=*), intent(in), optional :: dmpack

Server library version.

character(len=*), intent(in), optional :: host

Server host name.

character(len=*), intent(in), optional :: server

Server software (web server).

character(len=*), intent(in), optional :: timestamp

Server date and time in ISO 8601.

character(len=*), intent(in), optional :: message

Status message.

integer, intent(in), optional :: error

Error code.