Forum Replies Created
-
AuthorReplies
-
Has anyone been able to consume a Web REST API’s that require the use of an authentication token using Cloverleaf Web Services?
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
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.
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
-
AuthorReplies