[NEWSboard IBMi Forum]
  1. #1
    Registriert seit
    Aug 2005
    Beiträge
    2

    Problem mit XML PARSE in ILE COBOL

    Ich habe mich gefreut, daß es in COBOL V5R3 ein Befehl zum Parsen von XML gibt.
    Wenn ich aber ein einfaches Beispiel versuche (im Anhang), bekomme ich immer eine Exception.

    Die Werte der einzelnen Register sind:

    XML-CODE = 000000051 d.h. "The document was encoded in EBCDIC, and the document encoding declaration specified a supported EBCDIC encoding, but the parser does not support the CCSID of the COBOL source member."

    Ich weiss nicht warum XML-CODE = 51 ist, d.h. warum der Parser nicht CCSID von meinem COBOL source member unterstützt, wenn meine COBOL-Source-File auch CCSID=37 hat.

    XML-EVENT = 'EXCEPTION '

    Wenn ich mir den Wert von XML-TEXT anschauen will, bekomme ich folgende Message:

    Message . . . . : Space offset X'00FFF000' or X'0000000000000000' is outside
    current limit for object &1.
    Cause . . . . . : A program tried to set a space pointer or use storage
    outside a space, or tried to use an unallocated page in teraspace. The space
    class is X'04'. The space class designates the type of space:
    00-primary associated space (includes space objects).
    01-secondary associated space 0.
    02-implicit process space for automatic storage.
    03-implicit process space for static storage in activation group mark
    X'00000000'.
    04-implicit process space for heap identifier X'00000000' in activation
    group mark X'00000000'.

    05-constant space.
    06-space for handle-based heap identifier X'00000000'.
    07-teraspace offset X'0000000000000000'.
    08-teraspace for OS/400 PASE memory address X'0000000000000000'.
    Offset X'00FFF000' only applies to storage outside teraspace.
    X'8000000000000000F1D06F2C2E001000' is a pointer to the teraspace page or
    the start of the implicit process space for the allocation.


    Hat jemand Ahnung was nicht in Ordnung ist ?


  2. #2
    Registriert seit
    Aug 2005
    Beiträge
    2
    XML PARSE in ILE COBOL V5R3 funktioniert teilweise, wenn man das Dokument kodiert mit CCSID=819 im IFS-Verzeichnis verarbeitet.

    Meiner Meinung nach, hat z.Z. diese IBM-Extension in V5R3 noch Bugs und ist noch nicht Reif für den Produktionseinsatz, siehe dazu näher
    http://www.tek-tips.com/viewthread.c...1101822&page=1

Similar Threads

  1. Problem mit Java-Methoden Aufruf aus ILE RPG?
    By Stoeberl in forum NEWSboard Programmierung
    Antworten: 8
    Letzter Beitrag: 10-01-07, 10:58
  2. XML stream auf IFS mit ILE
    By THH in forum IBM i Hauptforum
    Antworten: 4
    Letzter Beitrag: 29-08-06, 11:58
  3. per SQL aus ILE COBOL in DB2 schreiben?
    By rebe in forum NEWSboard Programmierung
    Antworten: 5
    Letzter Beitrag: 24-03-05, 14:36
  4. eigene Prozeduren in ILE Cobol?
    By rebe in forum NEWSboard Programmierung
    Antworten: 5
    Letzter Beitrag: 23-07-04, 08:41
  5. Problem bei ILE COBOL mit sql connect to
    By rebe in forum IBM i Hauptforum
    Antworten: 1
    Letzter Beitrag: 07-09-01, 13:55

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •