PACKAGE SERVICE DETACH
The PACKAGE SERVICE DETACH message detaches a package from a release.
The XML service/scope/message tags and attributes for this message are:
<service name="PACKAGE">
<scope name="SERVICE">
<message name="DETACH">
These tags appear in both requests and replies.
PACKAGE SERVICE DETACH — Request
The following example shows how you might code a request to detach a package from a release. Data structure details for the <request> tag follow the example.
Example XML — PACKAGE SERVICE DETACH Request
<?xml version="1.0"?>
<service name="PACKAGE">
<scope name="SERVICE">
<message name="DETACH">
<header>
<subsys>4</subsys>
<test> </test>
<product>CMN</product>
</header>
<request>
<package>ACTP000094</package>
</request>
</message>
</scope>
</service>
...
PACKAGE SERVICE DETACH <request>
Data Structure
Subtag | Use | Occurs | Data Type & Length | Values & Dependencies |
---|---|---|---|---|
<package> | Required | 1 | String (10) | Name of package to be detached. |
...
PACKAGE SERVICE DETACH — Reply
The XML reply to a PACKAGE SERVICE DETACH request does not return a <result> Data Structure. It does, however, return a standard <response> Data Structure to indicate the success or failure of the request. Successful requests have a return code of 00. Unsuccessful requests have a return code of 04 or higher.
Example XML — PACKAGE SERVICE DETACH Reply
<?xml version="1.0"?>
<service name="PACKAGE">
<scope name="SERVICE">
<message name="DETACH">
<response>
<statusMessage>CMR7507I - Package ACTP000094 is now detached from release S4711010.</statusMessage>
<statusReturnCode>00</statusReturnCode>
<statusReasonCode>7507</statusReasonCode>
</response>
</message>
</scope>
</service>
...