Phil Costner

Forum Replies Created

Viewing 4 replies – 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Web Service Consuming REST API with token #83422
    Phil Costner
    Participant

      Has anyone been able to consume a  Web REST API’s that require the use of an authentication token using Cloverleaf Web Services?

      in reply to: Possible bug in CIS 5.8 with msgmapdata? #72005
      Phil Costner
      Participant

        The error message was being captured in eOutput.   I  could not get a more descriptive error.  I am attaching the script.  The hciencode command can be found in prod convertEBCDIC2Ascii

        in reply to: Possible bug in CIS 5.8 with msgmapdata? #72003
        Phil Costner
        Participant

          I am trying to execute the hciencode from inside our script that cycles smat.

          This is the line of code that executes the hciencode:

          catch {exec hciencode -i cp037 -o ascii $SMATMSGPATH $TMPMSGPATH} eOutput

          I get the following error when trying execute hciencode from within that tcl script:

          Error: Unable to open file “hcicis6.0integratorsph_inv_testexecprocesses2014154_Tue_Jun_03_spa7dok_i.msg_33751920_processing”

          The hciencode command works without error from the command line.

          Why would the error be thrown when executing the hciencode from within the script?

          Any suggestions would be appreciated.

          in reply to: RTF to Plain Text #63884
          Phil Costner
          Participant

            I have used regsub to remove the RTF control words from the RTF document.  Here are some of the commands that I used to parse the RTF document.  

            regsub -all — {~|B~} $obx5 {} obx5

            regsub -all — {B*Bblipuid [a-z0-9]+}[a-z0-9]+} $obx5 {} obx5

            regsub -all — {Bs[nv] [a-zA-Z0-9]+} $obx5 {} obx5

            regsub -all — {Bexpnd0Bexpndtw-3Binsrsid[0-9]+ PRIVATE } $obx5 {} obx5

            regsub -all — {B*Bdatafield [0-9a-z]+} $obx5 {} obx5

            regsub -all — {B[a-z0-9 ]+DOCPROPERTY “[A-Za-z]+” B+* MERGEFORMAT } $obx5 {} obx5

            regsub -all — {B*Bbkmk[a-z]+ [A-Z0-9a-z_]+} $obx5 {} obx5

            regsub -all — {B*B[a-z-0-9]+} $obx5 {} obx5

            regsub -all — {Brquote } $obx5 {‘} obx5

            regsub -all — {Bpard} $obx5 {} obx5

            regsub -all — {Bpar } $obx5 {~} obx5

            regsub -all — {B*} $obx5 {} obx5

            regsub -all {B[a-z0-9]+ >} $obx5 {} obx5

            regsub -all {B[a-z]+ .} $obx5 {} obx5

            regsub -all {B[a-z]+ (} $obx5 {} obx5

            regsub -all {B[a-z]+ )} $obx5 {} obx5

            regsub -all — {B[a-z-0-9]+} $obx5 {} obx5

            regsub -all {{} $obx5 {} obx5

            regsub -all {}} $obx5 {} obx5

            regsub -all {\’b[a-z0-9]} $obx5 {} obx5

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