Joseph Paquette

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 15 total)
  • Author
    Replies
  • in reply to: testing in production script question #84231
    Joseph Paquette
    Participant

      Thanks,  Works perfectly

      in reply to: best way to resend in bulk from smatdb #84187
      Joseph Paquette
      Participant

        I cant speak for how fast they would process,  but you could do something like this,  running on a linux system.  Running an older version,  make sure to change the ,  and to fit your needs.  This would pick up each file,  select all messages and then resend the selected messages.

        #!/usr/bin/perl;

        my $qdx_rt = “/usr/quovadx/qdx5.7MB/integrator”;

        my $smatloc = “/usr/quovadx/qdx5.7MB/integrator//exec/processes”;

        eval `$qdx_rt/sbin/hcisetenv -root perl $qdx_rt `;

        opendir(SMATDIR, $smatloc)

        or die “Unable to open $smatloc for purge: $!n”;

        @msg_files = grep /.idx/, readdir(SMATDIR);

        chdir($smatloc);

        my @smatfils = sort @msg_files;

        for $eachfile (@smatfils) {

        $replaysmat = “hcismat -i /usr/quovadx/qdx5.7MB/integrator//exec/processes/$eachfile -ib -sall -orst

        in reply to: problems running hcidbdump from a perl script #76320
        Joseph Paquette
        Participant

          Hello,

          I tried adding to the line,  now looks like this

          $ENV{‘LD_LIBRARY_PATH’}=”$qdx_root/bin:$qdx_root/lib:$qdx_root/tcl/lib”;

          Error changed to

          Unable to initialize DBI, err = 2

          am i missing any other folders that need to be in the path??

          Thanks for taking a look.

          Joe

          in reply to: Connection issues sending result messages #75847
          Joseph Paquette
          Participant

            Hello,

                Thanks,  there are more than one firewall that we jump through,  will have the networking team look into the timeouts on the firewalls between systems.

            in reply to: No response within timeout — assuming process is hung #75597
            Joseph Paquette
            Participant

              Hello,

                  Have seen this occur on 5.2, 5.3, & 5.7,  have always brought the system down and ran a cleanup.  Good to know that they will actually process through.  Thanks.

              in reply to: problem with deleting a file after picking it up #72413
              Joseph Paquette
              Participant

                Hello,

                    I did get this working, what we had to do is create a tcl proc for the directory parse that used the glob cmd to grab the directory contents.  Once i had the contents in a list, we were able o sort them and send them out.  I had a high volume of records coming through so it appeared that the read interval could only pick up a small amount of files.  Grabbing the directory made it easier to do.  Here is the code i used for the directory parse.  Not sure it

                in reply to: problem with deleting a file after picking it up #72409
                Joseph Paquette
                Participant

                  Here are the .err file and the log from the process folder.  I am using the advanced scheduler to read every 2 minutes, so have 0,2,4… up to 58 in the minutes, have everything else as a *.  What it seems to me is happening is after it processes the first file it doesn

                  in reply to: problem with deleting a file after picking it up #72408
                  Joseph Paquette
                  Participant

                    Hello Jim,

                        This is sending to c:save on my test system,  also the read directory is picking up from c:save as well.  

                    Joe

                    in reply to: problem with deleting a file after picking it up #72407
                    Joseph Paquette
                    Participant

                      Hello,

                          Same directory.

                      Joe

                      in reply to: resetting a counter daily #69339
                      Joseph Paquette
                      Participant

                        Hello,

                           Using windows,  so what i did is write a bat file to delete the counter file at midnight every night.  This seems to be working as needed,  thanks for the help.

                        Joe

                        in reply to: Adding Header information to OBX segements #69342
                        Joseph Paquette
                        Participant

                          Have done them after the initial OBX’s a few times,  but one way you may wish to try in your translation.  Prior to the iterate add them in,  If they are always a fixed number of OBX statements you can set a counter varible as the same value as then number of statements you have added.  In your iterate use the counter and the math add fucntion to increment and replace the OBX 2 value so your index is correct.

                          Joe Paquette GE Healthcare

                          in reply to: single message in multiple messages out tcl proc #64331
                          Joseph Paquette
                          Participant

                            Hello,

                                Usually have better control using tcl, have not really had a good example to look at using the suppress/continue option.  Working on the translation now may need some direction with the suppress/continue placements.

                            Joe

                            in reply to: If statement in translation #62825
                            Joseph Paquette
                            Participant

                              Thanks,  worked perfectly.

                              Joe

                              in reply to: Delaying a route #61543
                              Joseph Paquette
                              Participant

                                Hello,

                                I can setup a proc and give it a try,  I did try using a code frag in the xlate using the after command.  This still sent them at the same time,  will try a new proc with the delay in it to see if that helps.  Thanks

                                in reply to: xlateOutVals not populating #59787
                                Joseph Paquette
                                Participant

                                  Well.. my code was doing what it was supposed to,  had a second copy command in my xlate that was putting back the original value,  once i deleted that line the code frag worked as designed.. Thanks for the assistance.

                                  Joe

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