QDX 5.5 rev1 AIX Tcl Inbound Directory Parse

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf QDX 5.5 rev1 AIX Tcl Inbound Directory Parse

  • Creator
    Topic
  • #49246
    Michael Lacriola
    Participant

      Maybe a “new” feature, or just maybe I programmed it wrong. I have a inbound Tcl directory parse that is suddenly throwing 408 errors to error database (worked  fine in qdx5.3). It also lists this error in my engine process error log (see below).

      The Glob command is not picking up any files, which is true (see code fragment below).

      set potential_file_list {}

      foreach fn $filename_list {

       set f_list {}

       catch [set f_list [glob — $file_dir/$fn]]

       foreach f $f_list {

         lappend potential_file_list $f

       }    

      }

      Log file error:

      [pd  :pdtd:ERR /0:traffic_light:04/30/2007 10:59:24] Tcl error:

         msgId   = message0

         proc    = ‘tps_validFiles’

         args    = ‘{DIR {/quovadx/lab/test}}

      {FILENAME {msg*}}

      {SECS {120}}

      {TODAY {N}}’

         result  = ‘no files matched glob pattern “/quovadx/lab/test/msg*”‘

         errorInfo: ‘

      no files matched glob pattern “/quovadx/lab/test/msg*”

         while executing

      “glob — $file_dir/$fn”

         (“foreach” body line 3)

         invoked from within

      “foreach fn $filename_list {

                     set f_list {}

                     catch [set f_list [glob — $file_dir/$fn]]

                     foreach f $f_list {

                         lappend potential_file…”

    Viewing 1 reply thread
    • Author
      Replies
      • #61250
        Michael Lacriola
        Participant

          The answer is — The Mayflower (A little Airplane! Humor…)

          glob seems to have a new switch call -nocomplain which did the trick for me. Hooray for documentation and the abililty to read it.

        • #61251
          Charlie Bursell
          Participant

            The glob command always has and always will throw an error if it finds no files unless you use the -nocomplain option

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.