Using fileset-local to write to specific directory — or attached storage

Clovertech Forums Cloverleaf Using fileset-local to write to specific directory — or attached storage

  • Creator
    Topic
  • #113874
    Vince Angulo
    Participant

      Cloverleaf 6.2.0.2 on Aix 7.1.

      I’m using this code snippet to write messages to file:

      set dvr_ctl_str “{FILESET {{OBFILE $ob_file_name}}}”
      msgmetaset $mh DRIVERCTL $dvr_ctl_str

      If $ob_file_name just has a filename, i.e., <some_file_name.txt>, the file writes to the outbound thread’s process directory.

      How does one qualify the filename to write it elsewhere on the Cloverleaf AIX server, or an attached storage device?

      Samples for $ob_file_name would be:

      — Cloverleaf AIX server: “\hci\<folder>\<sub-folder>\<some_file_name.txt>”

      — FAS: “\\fas_name\<folder>\<sub-folder\<some_file_name.txt>”

      I think I’ve tried forward slashes, back slashes and UNC path — not sure if I have syntax issue or a permissions issue.  What have you all used successfully?

      Thanks in advance.

       

    Viewing 0 reply threads
    • Author
      Replies
      • #113877
        Jim Kosloskey
        Participant

          There is a FILESET Key called OBDIR. I think you populate that along with the OBFILE Key should get you what you want.

          As an aside I like to use the keyed list commands to build keyed list (like keylset) rather than building them as strings.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.