Start of changeSet User Policy (QPDETPOL) API


  Required Parameter Group:

1 Policy data Input Char(*)
2 Length of policy data Input Binary(4)
3 Format of policy data Input Char(8)
4 Error Code I/O Char(*)

  Default Public Authority: *EXCLUDE

  Threadsafe: Yes

The Set User Policy (QPDETPOL) API allows the changing of user policies related to service. This includes:


Authorities and Locks

User Profile Authority

*SERVICE

Required Parameter Group

Policy data
INPUT; CHAR(*)

Information to use when setting the policy.


Length of policy data
INPUT; BINARY(4)

How long the policy data is.


Format of policy data
INPUT; CHAR(8)

Which policy to set. Only the following values are accepted.

POLS0100 Set service cleanup interval policy.
POLS0200 Set problem documentation level.
POLS0300 Set maximum PTF order size.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error Code Parameter.



POLS0100 - Format for setting service inteval policy for Service Monitor cleanup

The following information needs to be supplied in the policy data parameter (parameter 1) for the POLS0100 format.

Offset Type Field
Dec Hex
0 0 BINARY(4) Number of days


POLS0200 - Format for setting the level of problem documentation sent with a problem

The following information needs to be supplied in the policy data parameter (parameter 1) for the POLS0200 format.

Offset Type Field
Dec Hex
0 0 CHAR(10) Problem documentation level


POLS0300 - Format for setting maximum PTF order size

The following information needs to be supplied in the policy data parameter (parameter 1) for the POLS0300 format.

Offset Type Field
Dec Hex
0 0 BINARY(4) Maximum PTF order size over LAN
4 4 BINARY(4) Maximum PTF order size over a modem


Field Descriptions

Maximum PTF order size over a modem. The maximum size in megabytes for a PTF order to be delivered electronically over a modem. This policy is shipped with a default value of 100 MB (MB equals approximately 1 000 000 bytes). If -1 is specified, PTF orders of any size are delivered over a modem. This policy cannot be set to a value less than 100 MB.

Maximum PTF order size over LAN. The maximum size in megabytes for a PTF order to be delivered electronically over the local area network (LAN). If -1 is specified, PTF orders of any size are delivered over the LAN. This policy is shipped with a default value of -1. This policy cannot be set to a value less than 100 MB (MB equals approximately 1 000 000 bytes).

Number of days. The number of days an object covered by this policy is allowed to exist before being deleted by the Service Monitor. Objects covered by this policy are: Service Monitor logs and Integrated File System files created by the FFDC process.

Problem documentation level. Indicates how much problem documentation should be included when problems are automatically reported to the service provider. Only the following values are accepted:

*BASE Minimal documentation is sent in the service request record. No additional data will be uploaded.
*DEFAULT Minimal documentation will be sent in the service request record. If no fix for the problem is found, additional documentation will be automatically uploaded. Additional documentation may include information such as joblogs and service dumps.


Error Messages

The following messages may be sent from this function:

Message ID Error Message Text
CPFE080 Maximum PTF order size not valid.
CPF0CC1 Error initializing the XML parser.
CPF24B4 Severe error while addressing parameter list.
CPF3CF1 Error code parameter not valid.
CPF3CF2 Error(s) occurred during running of &1 API.
CPF3C1E Required parameter &1 omitted.
CPF3C21 Format name &1 is not valid.
CPF3C3A Value for parameter &2 for API &1 not valid.
CPF9872 Program or service program &1 in library &2 ended. Reason code &3.

End of change
API introduced: V5R4
Top | Problem Management APIs | APIs by category