Brian Davis

Forum Replies Created

Viewing 4 replies – 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Memory Maintenance for QDXi 3.8.1 on AIX 5.1 #57500
    Brian Davis
    Participant

      You may have to split that file into smaller chuncks. This exactually what we do now.

      I am processing X12 files. I may have an enrollment file with several hundred members or a claim file with a couple thousand claims in it. We have a tcl that counts the number of lines, and splits the file into smaller files if the size limit is exceeded.

      I believe our problem lies in processing all those smaller files. After we translate all those files, we have to merge them back into a single file. Hence the use of global variables and metedata. We have to maintain data values throught the TPS stack in order to properly reassemble the file, name it correctly and put the output in the proper directory.

      When the process dies in the middle of processing all these files, we bounce the process. We put the same file through, and it processes fine. So it seems as if some memory consumption is building. I’m trying to find out what’s doing it.

      Any suggestions?

      Brian

      in reply to: Memory Maintenance for QDXi 3.8.1 on AIX 5.1 #57498
      Brian Davis
      Participant

        I have received no information from this post. I would like to know what manages memory better, global variables or metadata.

        We get a core dump with our errors too, but it means nothing to me.

        What kind of changes are you doing to be more memory effiect?

        Brian

        in reply to: reformatting x12 file for payer #56650
        Brian Davis
        Participant

          Nora,

          Since you are coding this in tcl, your solution may be easier. Remember, you are in contorol when you write records out to files.

          You build your 1000 loop and write it out. Build your 2000 loop and write it out. Build your 2300 loop and write it out. Build your 2310 loop and write it out. Here is where your hole is. Build your 2400, 2410, 2420 loops and hold them. Build your 2310 loop and write it out. Now write out the loops you had stored up.

          This is very simplistic, but I hope you can see my point.

          in reply to: reformatting x12 file for payer #56648
          Brian Davis
          Participant

            Nora,

            What transaction set are you working with? 834, 837, 835?

            You mentioned that you get this on the first occurance, but not the rest of the file. First occourance of what? First 2310A or 2420B?

            Not knowing how your Iterates are set up, I would try to iterate into the 2420A loop from within the 2310B loop. This way you will get every 2420A for each 2310B segment.

          Viewing 4 replies – 1 through 4 (of 4 total)