1 Reply Latest reply: May 15, 2014 10:08 AM by henryiriawan _ RSS

    Trap issue

    henryiriawan _

      Hello,

       

      I need to solve this parsing for sample report below:

       

       

                                               TRACE   TRANSACTION    TERM   TERM     LOCAL    SERIAL  SRV TRANS   REQUEST/     AUTH   SIMR

      ACCOUNT  NUMBER/--CARD NUMBER-- NUMBER  DATE   TIME    OWNER   ID   -


      ATM---  NUMBER  CLS TYP C   CHK AMT     AMOUNT  ICII

                                                                                      0003213211          9999999991114999    123453 08/22 19:10:06 009999 PS1234 00123456   01234567 POS PRV M      30.00      30.00    A

      ENTRY: TESTING 1234

      0001018888          9999999991112333    543214 08/23 11:20:17 008888 PS1235 00123455   01234568 POS PUR D      29.41      29.41  O A

      0003213218          9999999991178953    549999 08/23 11:20:17 007777 PS1236 00123457   01234569 POS PUR D      29.41      29.41  O A

      0003213219          9999999991779929    987654 08/21 02:11:47 006666 PS1237 00123458   01234560 POS PCV D      70.58      70.58  O A

      ENTRY: HELLO WORLD

       

      /codeEntry testing should ONLY attach to the preceding line.

       

      So desired result would be like this:

       

       

                                               TRACE   TRANSACTION    TERM   TERM     LOCAL    SERIAL  SRV TRANS   REQUEST/     AUTH   SIMR

      ACCOUNT  NUMBER/--CARD NUMBER-- NUMBER  DATE   TIME    OWNER   ID   -


      ATM---  NUMBER  CLS TYP C   CHK AMT     AMOUNT  ICII

                                                                                      1. 0003213211          9999999991114999    123453 08/22 19:10:06 009999 PS1234 00123456   01234567 POS PRV M      30.00      30.00    A

      ENTRY: TESTING 1234

       

      2. 0001018888          9999999991112333    543214 08/23 11:20:17 008888 PS1235 00123455   01234568 POS PUR D      29.41      29.41  O A

       

      3. 0003213218          9999999991178953    549999 08/23 11:20:17 007777 PS1236 00123457   01234569 POS PUR D      29.41      29.41  O A

       

      4. 0003213219          9999999991779929    987654 08/21 02:11:47 006666 PS1237 00123458   01234560 POS PCV D      70.58      70.58  O A

      ENTRY: HELLO WORLD

       

       

      /codeAny idea what should I do? I thought I need two models in here. But someone maybe can do it in one model

       

      I tried to put Entry on a new Footer template, but it will tag the record no. 2 and 3 as well.

       

      My monarch version is Monarch Pro version 9.01 with XP Professional.

       

      Thank you for your help.