none
HIS 2013 - Allocate verb problem RRS feed

  • Question

  • Hi all, we're having problems with the Allocate verb when opening a connection.

    Current setup is Windows 2008 Server R2 / HIS 2013

    We're accesing via APPC from a 32 bits application.

    We create an ALLOCATE message, send it through APPC() which returns primary_rc != AP_OK

    Then we call GetAppcReturnCode() and get the following message: "Allocate verb has completed with primary return code Unsuccessful"

    Is there any way to get further info on that? or some documentation? I've been searching online but can't seem to find anything related, looks like it's a problem with this client's specific installation.

    Thanks!

    Thursday, July 2, 2015 7:17 PM

Answers

  • Hi,

    as Steve already said APPC API traces would show what the issue is.

    The primary return code AP_UNSUCESSFUL for an ALLOCATE verb is pointing to a spefic error as described in our online documentation.

    AP_UNSUCCESSFUL

    Primary return code; the supplied parameter rtn_ctl specified
    immediate (AP_IMMEDIATE) return of control to the TP, and the local LU did not
    have an available contention-winner session.
    With this parameter specified the ALLOCATE only completes successfully if the session is already bound and never enforces a session to be established.

    Hope that helps

    Manfred Mittermüller

    - MSFT -

    Thursday, July 16, 2015 12:31 PM
    Moderator

All replies

  • Hi,

    In order to get very deep information, please activate the HIS Traces.

    1. Start --> All Programs --> Host Integration Server 2013 --> Trace Utility

    2. Activate the traces

    The traces are very technical, but they might help you.

    MSDN Documentation : https://msdn.microsoft.com/en-us/library/dn192144.aspx

    If you need more assistance, please let me know.

    Best Regards,


    Steve Melan - BCEE My Blog : http://stevemelan.wordpress.com

    Saturday, July 4, 2015 11:48 AM
  • Hi,

    as Steve already said APPC API traces would show what the issue is.

    The primary return code AP_UNSUCESSFUL for an ALLOCATE verb is pointing to a spefic error as described in our online documentation.

    AP_UNSUCCESSFUL

    Primary return code; the supplied parameter rtn_ctl specified
    immediate (AP_IMMEDIATE) return of control to the TP, and the local LU did not
    have an available contention-winner session.
    With this parameter specified the ALLOCATE only completes successfully if the session is already bound and never enforces a session to be established.

    Hope that helps

    Manfred Mittermüller

    - MSFT -

    Thursday, July 16, 2015 12:31 PM
    Moderator