Data Replication 2
Results 1 to 2 of 2

Thread: Natagent Ii

  1. #1
    marcosvoj is offline Junior Member
    Join Date
    Aug 2008
    Posts
    4
    Rep Power
    0

    Natagent Ii

    Iíve to call a Natural program who receives a 20k parameter and returns another 20k parameter
    Ex:
    <procedure name="TEST01">
    <dbCommand>PROGRAM=ATYLSTN;TRANSID=ATYI;LIBRARY=NA TAGENT;SUBPROGRAM=TST01</dbCommand>
    <fields>
    <field datatype="string" name="OUTPUT" size="20000"/>
    </fields>
    <parameters>
    <field datatype="string" name="INPUT" size="20000"/>
    </parameters>
    </procedure>

    I canít use this because we have a 32k limit! (20000+20000=40k)

    So, I tried to use de parameter OUTPUTOFFSET trying to receive de OUTPUT data into the same area as INPUT.

    "The offset of the output parameter from the input parameter. If
    OUTPUTOFFSET=0
    , the same field is used for both the input and
    output parameters, with the value updated for the output. If

    OUTPUTOFFSET
    is not specified, you cannot configure input
    parameters to also be output parameters and all the input
    parameters must physically precede the output fields in the
    COMMAREA itself."



    <procedure name=" TEST01">
    <dbCommand>PROGRAM=ATYLSTN;TRANSID=ATYI;LIBRARY=NA TAGENT;SUBPROGRAM= TEST01;OUTPUTOFFSET=0</dbCommand>
    <fields>
    <field datatype="string" name="OUTPUT" size="250"/>
    </fields>
    <parameters>
    <field datatype="string" name="INPUT" size="8"/>
    </parameters>
    </procedure>

    But, it does not work

    Do you have any idea how can I solve this?

  2. #2
    Costi Zaboura is offline World Wide Support Manager
    Join Date
    Aug 2006
    Posts
    300
    Rep Power
    14
    Hi
    this issue is being dealt by support

    regards
    To Find Out more About Attunity Technology:
    Attunity
    or:
    Contact Us

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •