Skip to content

PACKAGE SERVICE ATTACH

The PACKAGE SERVICE ATTACH message attaches a package to a release.

The XML service/scope/message tags and attributes for this message are:

<service name="PACKAGE">
<scope name="SERVICE">
<message name="ATTACH">

These tags appear in both requests and replies.

PACKAGE SERVICE ATTACH — Request

The following example shows how you might code a request to attach a package to a release. Data structure details for the <request> tag follow the example.

Example XML — PACKAGE SERVICE ATTACH Request

<?xml version="1.0"?>
<service name="PACKAGE">
    <scope name="SERVICE">
        <message name="ATTACH">
            <header>
                <subsys>4</subsys>
                <test> </test>
                <product>CMN</product>
            </header>
            <request>
                <package>ACTP000094</package>
                <release>S4711010</release>
                <releaseArea>ACCTPAY </releaseArea>
            </request>
        </message>
    </scope>
</service>

PACKAGE SERVICE ATTACH <request> Data Structure

Subtag Use Occurs Data Type & Length Values & Dependencies
<package> Required 1 String (10) Name of package to be attached.
<release> Required 1 String (8), variable Name of release to which package will be attached.
<releaseArea> Required 1 String (8), variable Name of starting subsystem area for package check-in to the release.

PACKAGE SERVICE ATTACH — Reply

The XML reply to a PACKAGE SERVICE ATTACH 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 ATTACH Reply

<?xml version="1.0"?>
<service name="PACKAGE">
    <scope name="SERVICE">
        <message name="ATTACH">
            <response>
                <statusMessage>CMR7508I - Package ACTP000094 is now attached to release S4711010.</statusMessage>
                <statusReturnCode>00</statusReturnCode>
                <statusReasonCode>7508</statusReasonCode>
            </response>
        </message>
    </scope>
</service>