Forum Replies Created
-
AuthorReplies
-
Of course – Thank you! 🙂
See it now…
Xlate date field is YYYYMMDD or YYYYMMDDmmss
I only need YYYYMMDD
xlateStrSubstring 0 5
xlateStrSubstring 1 6
Above two functions do not seem to work,
How can I obtain YYYYMMDD in Xlate.
Thank you!
Outbound thread –
I do not have access to old tcl procs mentioned in post.
What is best approach for bypassing state 16 messages and saving to error db so remaining messages can continue processing.
Thank you!
I need to calculate age 18 as adult and younger as children’s for vaccines using PID-7. Is there any existing logic that would be useful to calculate age?
Thank you for your response.
Below worked:
set new_actweightdt “”
set new_actweightdt [clock format [clock scan $actweightdt] -format “%Y%m%d%H%M%S”]
Thank you again for all your help!
Lina 🙂
Absolutely – Hugh help!
Works using command line
hcitcl>clock format [clock scan “2017-11-02 14:59:31”] -format “%Y%m%d%H%M%S”
20171102145931
Does not work when plugging in variable in tclproc – no errors
clock format [clock scan $actweightdt] -format “%Y%m%d%H%M%S”
2017-11-02 14:59:31
Hello,
tcl proc current date is:
2017-11-02 14:59:31
Needs to be:
yyyymmddhhmiss
Thank you for your assistance.
Lina
Hello,
Have a request to copy pid-2 to pid3 if different for this working tclproc below:
I have changed it to below and works as well…
Code:
IF @EP eq =5070
Thank you.
Thank you Mr. Jim Kosloskey for taking time and discussing string functions over the phone.
Much appreciated.
Lina
I am not getting a match (5070) in Xlate with attached logic.
I am currently using v6.1.1
xlateStrTrimLeft is the closest match.
Is there any documentation for the String actions?
Will be testing attached -once again continue learning and growing from everyone.
Thank you!
Lina
I have to check all instances of FT1 in each message….
Ok to generate separate output records.
If I change MATH:ADD to CONTINUE (option #2) above, will Xlate logic
The attached works for one record only.
1) What is the correct syntax for repeating destination using variable in attached example.
2) I have initialized Copy =0 $%f99
before and after the ITERATE.
Thank you in advance.
Lina
-
AuthorReplies