[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xml-sax issue



Thanks Paul.


>    Dutch
>    should be :
>     DResults           ds
>     D                                     LikeDs(claim_t)
>      $options = 'doc=string ' +
>                 ' path=MMMProcess/Results ' +
>                 '  case=any' +
>                 '  allowextra=yes' +
>                 '  allowmissing=yes';
>    Paul
>    From:        "RPG List" <rpglist@xxxxxxxxxxx>
>    To:        "HTTPAPI and FTPAPI Projects"
>    <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
>    Date:        09/09/2015 16:54
>    Subject:        Re: xml-sax issue
>    Sent by:        ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>      __________________________________________________________________
>
>    I just noticed that I cut off on the DS the Error_Code field, its there
>    I
>    just missed it when I copied it.
>    > I tried using the xml-into as suggested by John Paris and I get
>    nothing in
>    > the data structure.
>    >
>    > Here is how I have it defined:
>    >
>    > DResults          ds                  qualified
>    > D Claim                               LikeDs(claim_t)
>    >
>    > D Claim_t         ds                  qualified
>    > D                                     based(template)
>    > D Claim                          9a   Varying
>    > D Amount                         9a   Varying
>    > D Group                          5a   Varying
>    > D Dxg                            3a   Varying
>    > D MEANLOS2                       2a   Varying
>    >
>    > I have the options variable set as:
>    >
>    >   $options = 'doc=string +
>    >               path=MMMProcess/Results +
>    >               case=any +
>    >               allowextra=yes +
>    >               allowmissing=yes';
>    >
>    > and then the call:
>    >
>    >     xml-into Results %xml(xml: $options);
>    >
>    >
>    > when I check the values in debug after caling the xml-into all I see
>    is
>    > blanks or asteriks.
>    >
>    > Here is a  visual of the xml as its coming in:
>    >
>    >         ....5...10...15...20...25...30...35...40...45...50...55...60
>    >    1   '<MMMProcess><Results><Claim>8104550</Claim><Amount>1995.83</'
>    >   61   'Amount><Grouper>7320</Grouper><Dxg>53</Dxg><MEANLOS2>2</MEAN'
>    >  121   'LOS2><Error_Code>0</Error_Code></Results></MMMProcess>      '
>    >
>    >
>    > Am I missing something?
>    >
>    > Dutch
>    >
>    >
>    >
>    -----------------------------------------------------------------------
>    > This is the FTPAPI mailing list.  To unsubscribe, please go to:
>    > [1]http://www.scottklement.com/mailman/listinfo/ftpapi
>    >
>    -----------------------------------------------------------------------
>    >
>    -----------------------------------------------------------------------
>    This is the FTPAPI mailing list.  To unsubscribe, please go to:
>    [2]http://www.scottklement.com/mailman/listinfo/ftpapi
>    -----------------------------------------------------------------------
>
> References
>
>    1. http://www.scottklement.com/mailman/listinfo/ftpapi
>    2. http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------