1 | Handle | Input | Binary(4) |
2 | Key structures | Input | Array of Pointers |
3 | Number of keys | Input | Binary(4) |
4 | Error code | I/O | Char(*) |
The Change Problem Log Entry (QsxChangeProblemLogEntry) API updates an existing problem entry by changing the information. Key 1 (problem log ID) identifies the problem to be changed. Some data in the problem log entry can be changed on a field by field basis while other data can only be changed as a group and some data cannot be changed.
An identifier that associates the problem log services started with the QsxStartProblemLogServices API.
An array of pointers to the key structures being passed to the API.
Number of keys passed to the API.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
For details about the keys that can be used, see Key Groups for Problem Log APIs.
You can change the problem log data, the status, or both. The problems are categorized into the following types:
1 | Machine-detected problem |
2 | User-perceived hardware or software problem |
3 | PTF orders |
4 | User-perceived remote problem |
5 | Application-detected problem |
6 | Client machine-detected problem |
7 | Client user-detected problem |
8 | User-created general problem |
General data is data that can be changed for any problem type without affecting the status of the problem. Data of this class are:
To change the problem status, specific data is required. The amount of data depends on the current or requested problem log status. Data that requires a status change cannot be added unless key 3 (problem status) is provided. An error is signaled if this occurs.
A problem can be changed to the following statuses:
The beginning status of a problem.
Problem is staged for transmission to a service provider.
Problem entry has been analyzed and data is provided by keys that reflects the analysis results.
Problem is staged for transmission to a service provider.
Problem has been sent to a service provider and a solution was not available.
Problem is staged for transmission to a service provider.
Problem has been sent to a service provider and a solution was available.
Problem is staged for transmission to a service provider.
User has applied and tested the solution provided. The results of the testing are satisfactory. Once a problem is moved to VERIFIED status, it cannot be returned to OPENED or READY status.
Problem is staged for transmission to a service provider.
Problem is resolved and there is no longer a need for the problem entry. Once this status is set, it cannot be returned to any other status. The problem can only be retrieved.
PREPARED, while displayed as a specific status, is actually an amplifier to the previous status of the problem: OPENED, READY, SENT, ANSWERED or VERIFIED.
The supplemental data needed to move a problem to PREPARED status are:
Required to define the system that this problem will be sent to.
Optional. Defines the media on which a program fix can be delivered. If not provided, the contact data is used as a default. Typically this is the tape device type and model or a description of the media type on which PTFs are delivered if the distribution size exceeds a predefined transmit size limit.
Optional. Used to override local service contact information.
A problem can be set to PREPARED status by providing the required data keys (if not already provided) and a key 3 (problem status) code of 5.
Problem type 1 (machine-detected problems) requires data from two additional key groups, 1000 and 2000.
Note: When changing status and FRU entries are required, use the Add Problem Log Entry API. To change status in general, you do not need the key group 2000 data.
A problem in OPENED status, with the exception of general data that does not affect a status change, can only be changed to READY status. A problem may be changed from OPENED status to PREPARED status if the problem is to be sent to an iSeries server that has System Manager installed.
A problem can be changed from OPENED to READY status by including the following data items:
A problem can be changed to SENT or ANSWERED status by including the following data items:
At the service requester the answer code assigned field should be updated with the answer received from a service provider that is not *IBMSRV.
If *IBMSRV was the service provider, the Problem number field should be updated to reflect the problem management number that *IBMSRV has associated with the problem.
Once the problem is in SENT or ANSWERED status, text can be added that defines the problem status. This is data that is added as a response to a query of the problem status or as an answer the service provider sends to the problem. This is done with key 3001 (text entry), type 3. Key 6001 (history information) is required to indicate the action has taken place.
If the local system is acting as a service provider, the problem log entry for the service requester can be updated to reflect the following conditions:
These actions do not require a status change. Add a history event to define the action taken.
When a service provider answers a problem, the status is changed from READY status to ANSWERED status by including the following data items:
Once the problem is in ANSWERED status, text can be added that defines the problem status. This is data that is added as a response to a query of the problem status or as an answer the service provider wants to add to the problem. This is done with key 3001 (text entry), type 3. Key 6001 (history information) is required to indicate the action has taken place.
When a response is sent to the service requester, key 6 (operational data) is used to indicate that a response was sent. The following data items are required:
A problem can be changed to VERIFIED status from READY, SENT or ANSWERED status by including the following data items:
Recovery data can be added from OPENED or READY by including the following data items, and the status is not changed:
A problem can be changed to CLOSED status from any other status by including the following data items:
Problem types 2 (User-perceived), 4 (User-perceived remote), 5 (Application-detected), and 8 (User-created general) require the following data to achieve the following status:
This does not apply because these problem types are created in READY status.
This does not apply because these problems are created in READY status.
A problem can be changed to SENT or ANSWERED status by including the following data items:
At the service requester, the Answer code assigned field should be updated with the answer received from a service provider that is not *IBMSRV.
If *IBMSRV was the service provider, the problem management number (PMR) number field should be updated to reflect the problem management number that *IBMSRV has associated with the problem.
Once the problem is in SENT or ANSWERED status, text can be added that defines the problem status. This is data that is added as a response to a query of the problem status or as an answer the service provider sends to the problem. This is done with key 3001 (text entry), type 3. Key 6001 (history information) is required to indicate the action has taken place.
If the local system is acting as a service provider, the problem log entry for the service requester can be updated to reflect that a response was sent, PTFs were sent, or that an answer is added to the problem log. These actions do not require a status change. Add a history event to define the action taken.
When a service provider answers a problem, the status is changed from READY status to ANSWERED status by including the following data items:
Once the problem is in ANSWERED status, text can be added that defines the problem status. This is data that is added as a response to a query of the problem status or as an answer the service provider wants to add to the problem. This is done with key 3001 (text entry), type 3. Key 6001 (history information) is required to indicate the action has taken place.
When a response is sent to the service requester, the problem log entry is updated to reflect that a response was sent. The following data items are required:
A problem can be changed to CLOSED status from any other status by including the following data items:
Problem type 3 (PTF order) requires the following data to achieve the following status:
This does not apply to PTF orders (problem type 3).
This does not apply to PTF orders (problem type 3) because they are created in READY status.
A problem can be changed to SENT or ANSWERED status by including the following data items:
At the service requester the Answer code assigned field should be updated with the answer received from a service provider that is not *IBMSRV.
If *IBMSRV was the service provider, the Problem number field should be updated to reflect the problem management number that *IBMSRV has associated with the problem.
Once the problem is in SENT or ANSWERED status, text can be added that defines the problem status. This is data that is added as a response to a query of the problem status or as an answer the service provider sends to the problem. This is done with key 3001 (text entry), type 3. Key 6001 (history information) is required to indicate the action has taken place.
If the local system is acting as a service provider, the problem log entry for the service requester can be updated to reflect that a response was sent, PTFs were sent, or that an answer is added to the problem log. These actions do not require a status change. Add a history event to define the action taken.
When a service provider answers a problem, the status is changed from READY status to ANSWERED status by including the following data items:
Once the problem is in ANSWERED status, text can be added that defines the problem status. This is data that is added as a response to a query of the problem status or as an answer the service provider wants to add to the problem. This is done with key 3001 (text entry), type 3. Key 6001 (history information) is required to indicate the action has taken place.
When a response is sent to the service requester, the problem log entry is updated to reflect that a response was sent. The following data items are required:
A problem can be changed to CLOSED status from any other status by including the following data items:
Problem type 6 (client machine-detected) and problem type 7 (client user-detected) require the Problem category field in key 1012 be set to 0 (Report) to move to PREPARED status.
Message ID | Error Message Text |
---|---|
CPF3C1E E | Required parameter &1 omitted. |
CPF3C90 E | Literal value cannot be changed. |
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPF7AAB E | Problem &1 not found. |
CPF3C4D D | Length &1 for key &2 not valid. |
CPF3C82 D | Key &1 not valid for API &2. |
CPF3C86 D | Required key &1 not specified. |
CPD7A82 D | Value not valid for key &1. (char string) |
CPD7A83 D | Value not valid for key &1. (integer) |
CPD7A87 D | Key &1 may be added only once. |
CPD7A88 D | Incorrect DBCS field format found. |
CPD7A8A D | Key value &1 is not valid. |
CPD7A8B D | Length of data not valid. |
CPF7A89 E | Incorrect handle for this activation. |
CPF7A8A E | Problem log services not started. |
CPF7AA7 E | Problem &1 not found. |
CPF9821 E | Not authorized to program &1 in library &2. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
CPFA320 E | Pointer parameter is null. |
Top | Problem Management API list APIs by category |