End SQL Database Monitor (QQQESDBM) API
Required Parameter Group:
1 | Qualified job name | Input | Char(26) |
2 | Error code | I/O | Char(*) |
Service Program Name: QQQESDBM
Default Public Authority: *USE
Threadsafe: Yes
The End SQL Database Monitor (QQQESDBM) API ends the memory-based SQL database monitor. Associated APIs include the following:
- Clear SQL Database Monitor Statistics (QQQCSDBM)
- Dump SQL Database Monitor (QQQDSDBM)
- Query SQL Database Monitor (QQQQSDBM)
- Start SQL Database Monitor (QQQSSDBM)
Authorities and Locks
- Current User Profile
- *JOBCTL
Required Parameter Group
- Qualified job name
- INPUT; CHAR(26)
The job to end monitoring on. The qualified job name has three parts:
Job name CHAR(10). A specific job name, a generic name, or one of the following special values:
* or *CURRENT Only the job that this program is running in. The rest of the qualified job name parameter must be blank. *ALL All jobs. The rest of the job name parameter must be blank. User name CHAR(10). A specific user profile name. Job number CHAR(6). A specific job number.
- Error code
- I/O; CHAR(*)
The structure in which to return error information. For the format of the structure, see Error code parameter.
Error Messages
Message ID | Error Message Text |
---|---|
CPD0172 D | Parameters passed on CALL do not match those required. |
CPF1321 E | Job &1 user &2 job number &3 not found. |
CPF3CF1 E | Error code parameter not valid. |
CPF436D E | Job specified is not being monitored. |
CPF436E E | Job &1 user &2 job number &3 is not active. |
API introduced: V4R3
[ Back to top | Database and File APIs | APIs by category ]