App Connect

 View Only
Expand all | Collapse all

IIB10 Monitoring - DataCaptureStore - not consuming?

  • 1.  IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Sun February 07, 2021 04:07 PM
    Hello
    Maybe you can help me with something.
    I would like to put iib events into an Oracle DB.
    https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/bj28420_.html


    Somewhere I'm missing something.
    I have created the DataCaptureSource with the topic.
    And a DataCaptureStore with the queue - SYSTEM.BROKER.DC.RECORD and dataSourceName IIB.

    What do I need next, so that the Store goes into the Database?

    mqsicvp does not complain about the datasource.

    mqsicvp TESTNODE -n IIB
    BIP8299I: User 'IIB' from security resource name 'IIB' will be used for the connection to datasource 'IIB'.
    BIP8270I: Connected to Datasource 'IIB' as user 'IIB'. The datasource platform is 'Oracle', version '11.02.0020'.




    ------------------------------
    Matthias Jungbauer
    ------------------------------


  • 2.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Mon February 08, 2021 06:30 PM
    Matthias,

    Did you see the following link?  It breaks it down by operating system.  See if this helps.

    https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/bj23076_.html



    Yvonne



    ------------------------------
    Yvonne R. McGinnis
    DevOps (hopeful), Systems Administration
    Obama Foundation, Chicago
    Chicago Cato, Illinois
    773-886-5579
    ------------------------------



  • 3.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Tue February 09, 2021 05:18 AM
    Edited by Matthias Jungbauer Tue February 09, 2021 05:19 AM
    I made progress.
    What helped was
    https://github.com/DAVEXACOM/IIB-FEM/blob/master/FEMScripts/RnRsetup/IIB%20configurable%20service%20and%20monitoring.txt

    mqsichangeflowmonitoring TESTNODE -c active -e default -j
    Now the messages are getting consumed.

    ------------------------------
    Matthias Jungbauer
    ------------------------------



  • 4.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Tue February 09, 2021 11:49 AM
    At the Oracle server it looks like garbage


    ------------------------------
    Matthias Jungbauer
    ------------------------------



  • 5.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    IBM Champion
    Posted Wed February 10, 2021 08:32 AM
    Is Oracle trying to identify hex values as characters? Did the data get saved with the correct CCSID for the DB?

    ------------------------------
    Francois Brandelik
    ------------------------------



  • 6.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Thu February 11, 2021 03:47 PM
    In the table schema all fields are varchar.
    The DB is based on AL32UTF8 
    The CCSID of the broker is 5348
    In the queue it looks as 1208 546 and Message data is human readable.

    I don't know what DataCaptureStore/ODBC Driver are based on

    From DB Logs
    INSERT INTO IIBDBA.WMB_MSGS (WMB_MSGKEY,HAS_BITSTREAM,HAS_EXCEPTION,HAS_USERDATA,EVENT_TYPE,EVENT_NAME,EVENT_SRCADDR, BROKER_NAME,BROKER_UUID,EXGRP_NAME,EXGRP_UUID,MSGFLOW_NAME,MSGFLOW_UUID,APPL_NAME,APPL_UUID, LIBRARY_NAME,LIBRARY_UUID,NODE_NAME,NODE_TYPE,DETAIL,TERMINAL_NAME,KEY_FLD_1_NM,KEY_FLD_2_NM,KEY_FLD_3_NM, KEY_FLD_4_NM,KEY_FLD_5_NM,EVENT_TIMESTAMP,LOCAL_TRANSACTION_ID,PARENT_TRANSACTION_ID,GLOBAL_TRANSACTION_ID)VALUES ( :1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, :19, :20, :21, :22, :23, :24, :25, :26, :27, :28, :29, :30)

    Part1 of the insert statement looks okay.
    Part2, The parameters look like garbage

    I will try to get access to ODBC Trace logs

    ------------------------------
    Matthias Jungbauer
    ------------------------------



  • 7.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    IBM Champion
    Posted Thu February 11, 2021 04:48 PM
    The variables look OK if you can define a variable as a number....

    :alpha, :beta, here would be the same as :1, :2 etc...
    The question is what is the content of those numeric variables at runtime... and what CCSID is it in. I believe it gets translated to hex for the message content... possibly before it hits the numeric variable...

    ------------------------------
    Francois Brandelik
    ------------------------------



  • 8.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Thu February 11, 2021 06:19 PM
    I'm glad you found something that worked T.

    Sincerely,


    Yvonne

    Sent from my iPhone





  • 9.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Fri February 12, 2021 10:51 AM
    Well, the ODBC Trace log did not add value to me.
    I learned DataFlowEngine is the DB Client.
    For the moment I consider it as a ODBC/Oracle problem.

    I will check with a self-made messageflow if the ODBC Driver is working with IIB.

    DataFlowEngine 412c-4844 EXIT SQLPrepare with return code 0 (SQL_SUCCESS)
    HSTMT 0x00000272DABE14D0
    UCHAR * 0x00000272DBA6FAB0 [ -3] "INSERT INTO IIBDBA.WMB_BINARY_DATA ( WMB_MSGKEY,DATA_TYPE,ENCODING,DATA)VALUES ( ?, ?, ?, ?)\ 0"
    SDWORD -3

    DataFlowEngine 412c-4844 ENTER SQLDescribeParam
    HSTMT 0x00000272DABE0E80
    UWORD 1
    SWORD * 0x000000BB2CBFC5A8
    SQLULEN * 0x000000BB2CBFC398
    SWORD * 0x000000BB2CBFC390
    SWORD * 0x000000BB2CBFC438

    DataFlowEngine 412c-4844 EXIT SQLDescribeParam with return code 0 (SQL_SUCCESS)
    HSTMT 0x00000272DABE0E80
    UWORD 1
    SWORD * 0x000000BB2CBFC5A8 (12)
    SQLULEN * 0x000000BB2CBFC398 (200)
    SWORD * 0x000000BB2CBFC390 (0)
    SWORD * 0x000000BB2CBFC438 (0)

    DataFlowEngine 412c-4844 ENTER SQLBindParameter
    HSTMT 0x00000272DABE0E80
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD -8 <SQL_C_WCHAR>
    SWORD 12 <SQL_VARCHAR>
    SQLULEN 200
    SWORD 0
    PTR 0x00000272DBD93850
    SQLLEN 98
    SQLLEN * 0x00000272DBD93DA8

    ------------------------------
    Matthias Jungbauer
    ------------------------------



  • 10.  RE: IIB10 Monitoring - DataCaptureStore - not consuming?

    Posted Fri February 12, 2021 12:02 PM
    Mission accomplished:
    I was working with the wrong ODBC Driver : rdfm carefully
    Thanks for your public / private input




    ------------------------------
    Matthias Jungbauer
    ------------------------------