Fileset Protocol DirParse get Metadata?

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Fileset Protocol DirParse get Metadata?

  • Creator
    Topic
  • #53948
    Jim Kosloskey
    Participant

      All,

      I have looked but cannot find a way to get some of the MetaData (essentially the Directory info, etc.) from within a Directory Parse UPoC Tcl proc.

      Normally one would use msgmetaget with the message handle but at this UPoC there is no message handle.

      It would be helpful at times to know what has been configured for the inbound Directory, etc. and that information is there in the MetaData when the message is there.

      I am sure I am missing something so a push in the correct direction would be appreciated.

      Cloverleaf 6.0.0, AIX.

      email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.

    Viewing 2 reply threads
    • Author
      Replies
      • #79634
        bill bearden
        Participant

          As usual, I am shooting first and asking questions later…

          But could you get it from the NetConfig file with something like

          Code:

          netcfgLoad “$::env(HCISITEDIR)/NetConfig”
          set conns [netcfgGetConnList]
          set prot “”
          set ibdir “”

          foreach conn $conns {
           catch {
             if {[cequal $conn “TheOneYouAreLookingFor”]} {
               set prot [netcfgGetConnData $conn “PROTOCOL”]
               set ibdir [keylget prot IBDIR]
             }
           }
           echo $conn:$ibdir
          }

        • #79635
          Jim Kosloskey
          Participant

            Bill,

            Thanks for the suggestion.

            I am looking for something a little more supported than those functions.

            email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.

          • #79636
            Charlie Bursell
            Participant

              Since this is not a message in the Cloverleaf sense, there is no metadata

              With CL 6.0+ there is a flag that supply a long directory listing with directory parse.  Perhaps that will help.

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