[NEWSboard IBMi Forum]

Hybrid View

  1. #1
    Registriert seit
    Jun 2014
    Beiträge
    5
    Mal keine Fragen, sondern eine Erkenntnis:

    Der XML-PARSE konvertiert nicht automatisch. IBM schreibt hierzu:

    When you parse ASCII XML documents, the document fragments passed to the processing procedure in special register XML-TEXT are encoded in ASCII. Because ILE COBOL operations such as move and comparison rely on EBCDIC encoding or on national characters for proper operation, you must convert the document fragments before using them. To do this when the XML document is in a COBOL program, first convert from the ASCII CCSID of the XML document to national characters using the MOVE statement. Then, if necessary, convert the result from national characters to EBCDIC using the MOVE statement.

    Man muss also intern immer erst für jedes gelesene XML-Statement eine Zeichenkonvertierung durchführen, bevor man die Informationen weiterverarbeiten kann.

  2. #2
    Registriert seit
    Feb 2001
    Beiträge
    20.695
    Nun ja, wenn es mit einem simplen Move erledigt werden kann.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

Similar Threads

  1. S/36 Format und Hidden Felder
    By Tonazzo in forum NEWSboard Programmierung
    Antworten: 8
    Letzter Beitrag: 12-06-14, 22:50
  2. Daten von i-series in xml-Format
    By froehlich in forum IBM i Hauptforum
    Antworten: 7
    Letzter Beitrag: 12-05-03, 15:35
  3. Ausgabe von "Seite x von y"
    By JobstT in forum IBM i Hauptforum
    Antworten: 7
    Letzter Beitrag: 05-02-03, 13:29
  4. Ausgabe UTF8
    By Dirschl in forum IBM i Hauptforum
    Antworten: 0
    Letzter Beitrag: 23-10-02, 11:52
  5. RUNSQLSTM mit Ausgabe in Spoolfile, Datei, Bildschirm
    By DiBagger in forum IBM i Hauptforum
    Antworten: 2
    Letzter Beitrag: 16-07-02, 14:28

Tags for this Thread

Berechtigungen

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