3 Replies Latest reply: May 10, 2012 3:52 PM by Tony RSS

    How to configure for Multiple XML

    916192
      Hi,

      We were successful in working with single xml as a input. Now we are using multiple xml as a input for a single transaction. With the references and the suggestion in documents(working with xml files.pdf) related to Documaker we have changed configuration settings in FSISYS.INI and AFGJOB.JDT.
      Down below we have mentioned those changes.

      Input Extract file has been changed as F_Sch.DAT; following is the content in the extract file

      COM_LOB_1111 .\INPUT\F_SCH1.xml
      COM_LOB_1111 .\INPUT\F_SCH2.xml
      COM_LOB_1111 .\INPUT\F_SCH3.xml

      F_SCH1.xml,F_SCH2.xml,F_SCH3.xml

      <?xml version="1.0"?>
      <global>
           <lm>
                <COM>COM</COM>
                <LOB>LOB</LOB>
                <TRANSACTIONID>121212</TRANSACTIONID>
           </lm>     
           <Foodcard>
                <Accname>Alex</Accname>
                <Email>some@email.com</Email>
                <Accid>1234123412341234</Accid>
                <Accno>1234123412341234</Accno>
                <Accaddr1>address1</Accaddr1>
                <Accaddr2>address2</Accaddr2>
                <Accaddr3>address3</Accaddr3>
           </Foodcard>     
      </global>

      Changes to FSISYS.INI

      < ExtractKeyField >
      Key = 1,3
      SearchMask = 1,COM_LOB_1111
      < TRN_FIELDS >
      COM = 1,3,N
      LOB = 5,3,N
      PolicyNum = 9,3,N
      < DATA >
      ExtrFile = C:\FAP\DLL\Computer\INPUT\F_Sch.DAT


      AFGJOB.JDT

      ;ImportXMLFile;2;SCH=1,COM_LOB_1111 15,19

      Inspite of those changes that made, we were not able to generate the output using three xml as a input.
      ***error details.***

      [04:16:29PM] Warning: Company - LOB - Transaction
      [04:16:29PM] Warning: DM17115: : The DownLoadFAP option is set to Yes, this option should be set to No for optimal performance. Check the RunMode control group, DownLoadFAP option.
      [04:16:29PM] Error: Company - LOB - Transaction
      [04:16:29PM] Error: DM12041: : FAP library error: Transaction:<>, area:<DXMLoadXMLRecs>
      code1:<48>, code2:<0>
      msg:<XML Parse Error: The 1 chars before error=<C>, the 20 chars starting at error=< >>.
      [04:16:29PM] Error: Company - LOB - Transaction
      [04:16:29PM] Error: DM12041: : FAP library error: Transaction:<>, area:<DXMLoadXMLRecs>
      code1:<48>, code2:<0>
      msg:<syntax error at line 1 column 0>.
      [04:16:29PM] Error: Company - LOB - Transaction
      [04:16:29PM] Error: DM10292: in <RULXMLExtract()>: Unable to <DXMLoadXMLRecs()>.
      [04:16:29PM] Warning: Company - LOB - Transaction
      [04:16:29PM] Warning: DM13023: in RCBSendToErrBatch(): Unable to assign the transaction to the error batch. The SentToManualBatch field is not defined in the TrnDfdFile.
      [04:16:29PM] Error: Company - LOB - Transaction
      [04:16:29PM] Error: DM10947: in NoGenTrnTransactionProc(): Unable to RULLoadXtrRecs(pRPS).
      [04:16:51PM] Error: Company - LOB - Transaction
      [04:16:51PM] Error: DM12018: in RPDoBaseFormsetRulesForward(): Unable to <WINNOGENTRNTRANSACTIONPROC>().
      [04:16:51PM] Error: Company - LOB - Transaction
      [04:16:51PM] Error: DM12066: in RPProcessOneTransaction(): Unable to RPDoBaseFormsetRulesForward(pRPS, RP_PRE_PROC_A).
      [04:16:51PM] Error: Company - LOB - Transaction
      [04:16:51PM] Error: DM12064: in RPProcessTransactions(): Unable to RPProcessOneTransaction(pRPS). Skipping the rest of the transactions for this Base. See INI group:< GenDataStopOn > option:TransactionErrors.
      [04:16:51PM] Error: Company - LOB - Transaction
      [04:16:51PM] Error: DM12004: in RPProcessOneBase(): Unable to RPProcessTransactions(pRPS).
      [04:16:51PM] Error: Company - LOB - Transaction
      [04:16:51PM] Error: DM12001: in RPProcessBases(): Unable to RPProcessOneBase(pRPS). Skipping the rest of the Bases for this batch run. See INI group:< GenDataStopOn > option:BaseErrors.
      [04:16:51PM] Error: Company - LOB - Transaction
      [04:16:51PM] Error: DM12127: in RPRun(): Unable to RPProcessBases(pRPS).
      [04:16:51PM] Error: An error occurred during processing.

      Kindly let us know in case of any solution for this issue.

      Regards,
      Balaji R.
        • 1. Re: How to configure for Multiple XML
          Gaétan Berthold
          Hi Balaj,

          Where in the documentation did you see that we can process multiple extract files? Which version of Documaker are you using?

          Thanks,

          Gaétan
          • 2. Re: How to configure for Multiple XML
            916192
            Hi Gaétan,

            I am using documaker *12.0* version. I have took the reference from Working with XML Files.pdf . Under the chapter Importing and Exporting XML Files with Documaker Server in the section ImportXMLFile.

            Regards,
            Balaji R.
            • 3. Re: How to configure for Multiple XML
              Tony
              It looks like it is unable to load your XML files. Depending on how your configuration is laid out, you may want to list full path names in your extract file - we make use of the same technique in 11.5, which I would imagine isn't terribly different in this respect from 12.0. Our configuration is such that we run Gendata at one level, read an extract file in the deflib folder, and the input files are in an input folder, so each entry in the extract file is C:\fap\mstrres\sampco\input\input1.xml.

              Not sure if that is analogous to your setup or not, but based on the errors, either it can't find the file, so it is a pathing issue, or the file contents are invalid.

              Tony