Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

ProfileMonitorEdit pme

  • Last Updated: May 12, 2026
  • 2 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

In a client/server configuration, changes a monitoring profile for an OpenAccess SDK service.

Syntax

{ProfileMonitorEdit | pme} service_name {enable | disable | event_group} [{enable | disable} | {event_name | event_id} [{on | off}]]

where:

service_name is the service for which to change the monitoring profile. Service names can be obtained using the ServiceList | sl command.

event_group is the type of event to change for the monitoring profile. Valid values are:

  • {Service | srvc}
  • {Session | sess}
  • {Statement | stmt}

event_name is the name of the event within in the specified event group to change. You can use the ProfileMonitorInfo command to list available event names.

event_id is the numeric identifier of the event within the specified event group to change. You can specify either event_name or event_id, not both. You can use the ProfileMonitorInfo command to list available event identifiers.

Example

Example A: The following example enables all events for the OpenAccessSDK900_C data access service, meaning that all events are monitored:

pme OpenAccessSDK900_C enable

Example B: The following example disables all events for the OpenAccessSDK900_C data access service, meaning no events are monitored:

pme OpenAccessSDK900_C disable

Example C: The following example enables all service events for the OpenAccessSDK900_C data access service:

pme OpenAccessSDK900_C service enable

Example D: The following example disables all session events for the OpenAccessSDK900_C data access service:

pme OpenAccessSDK900_C session disable

Example E: The following example changes the state of the session event named database user to off:

pme OpenAccessSDK900_C session "database user" off

Example F: The following example changes the state of the session event identified by 10 to off:

pme OpenAccessSDK900_C session 10 off

Example G: The following example changes the state of the statement event named sql to on:

pme OpenAccessSDK900_C stmt sql on

TitleResults for “How to create a CRG?”Also Available inAlert