..AppendTimestamp in FTP
what are the different values that can be passed to ..AppendTimestamp in FTP ?
Can we pass dynamic values to it ? if so how can we do that ?
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
..AppendTimestamp in FTP
what are the different values that can be passed to ..AppendTimestamp in FTP ?
Can we pass dynamic values to it ? if so how can we do that ?
During testing the added Multi-Namespace feature I met a challenge
that required intervention. This simple request created 1000 lines of output.
USER>do^rccSo I decided to append a very condensed statistic to the summary line
1206This summary I attached to the end show how and where the
90000+ hits are distributed.
It works with the ALL namespace selection also for single code types
enter search string [try on Demo Server
I have an SQL table as below (columns - ID and Value)
I will get an ID number (first column) as an input from FTP inbound , and after that I have to query table taking ID as an input to get all the values for the ID
as -
if ID = 11 ; QRY output = aaa,bbb
if ID = 22 ; QRY output = xxx,yyy,zzz
can someone help me with query
ID Value
----------
11 aaa
22 xxx
22 yyy
11 bbb
22 zzz
-----------
Hello every one, here in our company we are trying to develop a tool to help us in our "Code Review" that today is completely done for another developer.
So I need to develope a tool that reads a class/routine (Already done) and identify if in the current line there is some abbreviated command, that is against our policy of codification, for example:
s variable = "test"
d ..SomeMethod()
Is it possible to transform selected fields from HL7 message to | separated string or stream that can be inserted to a DB using Record Map?
I can START and STOP a business process via its Schedule setting.
Is it possible to change the value of another Setting in an analogous way?
I can imagine a SettingSchedule that could look like
action:YYYY-MM-DDThh:mm:ss[,action:YYYY-MM-DDThh:mm:ss]
But rather than just START or STOP, action could be "SET Setting = value", overriding whatever the normal value is.
Is there an existing way of achieving this kind of functionality?
I've got a business process that triggers from a scheduled task, and sends documents to a downstream system according to business requirements.
I'm trying to convert date - 2023-09-28T20:35:41Z to BST/GMT format. I tried with $ZDT($ZDTH("2023-09-28T20:35:41Z",-2),8,1) but it's giving the output as '19700101 01:33:43' and looks link the date format in $ZDTH specified is wrong. Any inputs or solution would be appreciated.
Hi,
I am using this "$ZDATETIME($h,3,1,3)" and getting response as 2024-09-03 12:07:45.000
But I need proper values at the end instead of zeros (000)
Something like below -
2024-09-03 12:07:45.658
I have some Services using EnsLib.File.InboundAdapter to go directly to respective operations using EnsLib.File.OutboundAdapter which has a 'File Path' specified.
Using this File Path as a root directory, I'd like to instead pass this through a Router where I could somehow inject a subdirectory to place the file into on the outbound side based off the source service it is coming from. There will likely be several inbound services writing to each outbound operation and I'd like to be able to sort the output into subfolders.
i use %SYSTEM.WorkMgr to handle data by multicompile=1,but i find that,after WaitForComplete,the processes created by %SYSTEM.WorkMgr are still stand by,.png)
and status is evtw,after i run many times,the processes are more.and this will cause server falls into trouble.so my question is ,how to kill the processes that created by using the %SYSTEM.WorkMgr,and how to avoid to make the server falls into trouble,why this will cause server falls into trouble。and is there a better way to handle data by mult process?
We have a CSP pages script, which gets and sets a cookie for email tracking purposes, we had problems with cookies not being passed to this script when the URL was opened from an email client due to being cross-site, so I set Session Cookie Scope & User Cookie Scope to None instead of Strict.
This solved the issue with cookies not being passed, however the script entirely does not work anymore due to the error:
"Invalid CSP response cookie. SameSite cannot be set to None without Secure.
LS,
I'm executing a query using JDBC on a PostgreSQL db:
SET statement_timeout TO 600000000; COMMIT SELECT * FROM bi_hour
The query is aborted with the following message:
FOUT #5023: Fout in Java Gateway: JDBC Gateway getClob(0,2) errorBad value for type long : active
The column 'blocked_status' contains the value 'active' is of type 'text'. I figure somewhere the SQL Gateway tries to convert the text value into a long but I can't find where, any suggestions?
I have a requirement where in I had to read a HL7 message string ( which is a String )
from a SQL TBL to my Business Service.
and I need to convert that string to EnsLib.HL7.Message format and traverse through the PID segment.
I need some inputs please.
So, here is a novice question; but, I can't seem to figure out how to do it, or find any comments. I simply want to close out this DTL, under the Interoperability / Build / DTL screen:
.png)
There do not seem to be any buttons to 'close' the current DTL item. I tried logging off and back on, and, it brings it right back. Ideas?
The following code downloads https://www.intersystems.com/assets/intersystems-logo.png and saves the file as c:\temp\test.png.
You need to define an SSL configuration called SSLTEST before executing this code
ClassMethodAs%StatusQuestion: can a business process with pool size > 1 invoke external programs in parallel via $ZF(-100)?
We have a production that takes HL7 (ORU_R01) messages in and produces a PDF from each one for onward transmission to a document store.
The PDF creation is implemented in a business process which transforms the HL7 to XML, saves the XML to the filesystem, then calls Apache FOP (the version distributed with Ensemble) via $ZF(-100) to produce the PDF, which is stored on the filesystem.
Hello, I am total newbie when it comes to ObjectScript (just started going through the tutorial). We have a task where we have to update the port number for 75-100 items (say for half of the items in our production). Going through the documentation and other community posts it looks like we could utilize class method 'ApplySettings' in Ens.Production. But we are running into an issue. Below is what we currently have. When we hard code the item, it works. But, if we store the item in a variable and try it pass it through. Then it doesn't work. We are also not seeing an error.
Temporary globals stored in the IRISTEMP/CACHETEMP databases are used when a process does not need to store data indefinitely, but requires the powerful performance of globals. The IRISTEMP/CACHETEMP databases are not journaled, so using temporary globals does not create journal files.
The system uses the IRISTEMP/CACHETEMP databases for temporary storage and are available to users for the same.
For more information about temporary globals and the IRISTEMP database, see the following document:
Temporary Globals and the IRISTEMP Database
Hi Guys
I'm getting syntax error using && operator in using JS in my Zen page, the || works fine!?
.png)
Thanks
Hi
I've more than 100 classes that are packed like CRD.Health.MyClass so I've defined the global mapping as CRD*, but now I would like to map some of the classes (CRD.Health.SomeClass) to different database so how can I exclude it from my current mapping to be in the new one because if I map it in the new database it will still conflict with the old mapping?
Thanks
Is CR/LF changes to DTL files edited/committed to git via VS Code a known issue?
We had an issue with exporting files from one server and importing on another, using XML code exported from Studio: ERROR #6301: SAX XML Parser Error. Turns out that issue was down to CR/LF changes made when transferring the XML from one server to the other.
A nice feature that we recently added to version 2.12.6 of the VS Code ObjectScript extension is controlled by this new setting:
objectscript.serverSourceControl.respectEditableStatus
When set true in JSON, or checked in the Settings Editor, a server-side file will be read-only if the source control class for the namespace reports that it is not editable.
This option may be of particular interest to users of our Deltanji source control product, particularly when used in combination with the Deltanji extension for VS Code
when doing ETL process from cache database to mysql database(ods) and to another mysql database(dwd).
There are lots of DR columns in one table.
In the first step we need two databases to be totally consistent(ods=cache database)
However, the DR column in another database lost its meaning and become to normal number.
In the last step we do the data governance in ODS to DWD. My question is how to write sql without many `join` in this step.
If you do not specify the option to remove the mirror attribute of the mirror database when deleting the mirror configuration, the database cannot be restored to a normal state and will be mounted read-only the next time it is mounted. To restore the database to a read-write state, you must remove the mirror attribute using the system routine ^MIRROR.
Hi,
I created a property in a Business Process class and added that property to the "settings" parameter to display it as a field in production settings.
Property ServerName As %String(MAXLEN = "");
Parameter SETTINGS = "ServerName:Server Config";
Property names cannot contain characters such as underscore or whitespace. Is there any way to change the display name in production so that I can show this setting as "Server Name" and not "ServerName"?
Thank you in advance.
Hi All ,
I have a dateTime in the format = "2024-08-07 17:58:51.563"
I need the difference between current date time and above one
I need it in seconds.
Hi Guys,
I'm getting " ERROR #6084: Unknown errors detected" when compiling my CSP pages, the pages still works fine in the new 2018 system but can do any changes because of this error?
Thanks
I have an Interoperability Enabled namespace, however, when I try to configure it for production, the Production Configuration page freezes, and, it does not show a listing of my Interoperability Enabled namespaces-.png)
I ran into an issue trying to create new BPL and DTL items. I thought there may be an issue with the fact that my namespace was not cloned from the correct namespace (with all routines/globals/etc); or, that it was not enabled correctly for production, hence, 5002 errors.
Hi all.
Recently, I have noticed Scott Roth's mission to resolve issues with Orphaned messages with a lot of focus on prevention, and I envy that level of dedication.
Not wanting to be left out, this has sparked an interest in checking my environments for orphaned messages. Amongst a few different posts on the subject, I came across this post from Suriya Murugan in 2016 that included an interesting class in a Github Gist that seems to be built to do a deep dive into the identification and cleanup of Orphaned Messages.
Hi Guys,
I've configured my web application and set the Path to where my CSP pages and I can login into my application loads fine with a side menu to links to my CSP pages but when clicking to go any CSP page I got kicked back to the Login page so is there a security setting or configuration that I'm missing ?
Thanks