ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Using CGIDEV2 for Generating XML

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using CGIDEV2 for Generating XML

    Hi All
    i?m try to follow the example at http://www.ibmsystemsmag.com/ibmi/de...ng-XML/?page=2 ; it works fine but I have this problem: when I run the program that call WrtHtmlToStmf in interactive mode, all is ok, if I run it in batch , the Xml file is not complete !!!
    Can some help me to find where am I wrong ?
    Thanks in advance

  • #2
    Re: Using CGIDEV2 for Generating XML

    1. Check both job logs and see what's different.
    2. Run both thru debug and see what's different.

    Comment


    • #3
      Re: Using CGIDEV2 for Generating XML

      Hi
      if i open the Ifs file i see "1 records folded."

      Message ID . . . . . . : CPDB625 Severity . . . . . . . : 20
      Message type . . . . . : Information
      Date sent . . . . . . : 08/02/07 Time sent . . . . . . : 10:28:06
      Message . . . . : 1 records folded.
      Cause . . . . . : 1 records exceeded 4K bytes. These records have been
      split
      to display them on multiple lines. If you do not make any changes, the
      records in the file will remain the original length. If you proceed to
      edit this file, the record lengths will be changed in the file to the length currently on the display.

      this is what i see with option 8
      Data/ora di creazione . . . . . . . . : 30/03/16 20:52:33
      Data/Ora ultimo accesso . . . . . . . : 30/03/16 21:13:38
      Data/Ora modifica dati . . . . . . . . : 30/03/16 20:52:33
      Data/Ora modifica attributi . . . . . : 30/03/16 20:52:33

      Dimensione dei dati oggetto in byte . : 5113
      Dimensione assegnata dell'oggetto . . : 16384
      Formato file . . . . . . . . . . . . . : *TYPE2
      Dimensione degli attributi estesi . . : 0
      Memoria liberata . . . . . . . . . . . : No
      Oggetto temporaneo . . . . . . . . . . : No
      Opzione memoria disco . . . . . . . . : *NORMAL
      Opzione memoria principale . . . . . . : *NORMAL

      Comment


      • #4
        Re: Using CGIDEV2 for Generating XML

        I would try to open the file through windows explorer not green screen.
        Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

        Comment

        Working...
        X