@Mary George
there is one.
I just posted a cross namespace cross CLS, MAC; INT, INC search
https://community.intersystems.com/post/code-scanner
It's pretty fast just using COS and Globals. No class.
- Log in to post comments
@Mary George
there is one.
I just posted a cross namespace cross CLS, MAC; INT, INC search
https://community.intersystems.com/post/code-scanner
It's pretty fast just using COS and Globals. No class.
Congrats:
I like your code example that demonstrates deep understanding of the DB concept.
💪
From docs:
tformat = 1 >>> Express time in the form "hh:mm:ss" (24-hour clock).
W $ZTIME(338,1,)
00:05:38
W $ZTIME(338+43200,1)
12:05:38
My guess: You look for this
W $tr($ZTIME(338,3),"AM")
12:05:38
set time="2023-09-28T20:35:41Z"
write $TRANSLATE(tine,"-:TZ")
20230928203541Do you look for a kind of LOGGING ?
👍💪
with set pSettings("From_Source_Rec_Job","Adapter...
you pass a String literal
assuming the value of your variable str = From_Source_Rec_Job
then set pSettings(str,"Adapter","FTPPort")=2022
should be sufficient
iris | 08/15/24-05:47:48:778 (828) 3 [Utility.Event] Error while moving data directories
ERROR #5001: Cannot create target: /shared/durable/
You may have some file protection issue
Studio has a feature to expand / compress ObjectScript Commands
Advanced Editing
this might be a starting point.
You mentioned IIS.
Are you sure IIS is listening at port 57772 ?
And: http://localhost:57772/csp/sys/UtilHome.csp
looks like the old call to private Apache
on Windows use $$$installdir\bin\iris.exe
for instance-name use iris list
ZENpages load a bunch of dedicated js libraries + scripts in browser for it's communication
Suggestion: create a simple ZEN page and check js libraries and scripts used.
do HELP^%G no blank between P and ^%G
straight Objectscript
not so much need of a SET class in ObjectScript
thanks for the explanation !
Using my previous reply you can do this without need of any custom object:
SAMPLES>read xml
<?xml version="1.0" encoding="UTF-8"?> <session> <session_Id>124364</session_Id> </session>
SAMPLES>set rdr=##class(%XML.Reader).%New()
SAMPLES>do rdr.OpenString(xml)
SAMPLES>zwrite
%SAX=1
%SAX(1)=2
%SAX(1,0)=""
%SAX(1,1)="1" ""
%SAX(1,2)="!>A"
%SAX(1,"N","http://www.w3.org/2001/XMLSchema-instance")=1
%SAX(1,"d")=4
%SAX(1,"d",1)="session"
%SAX(1,"d",2)=" "
%SAX(1,"d",3)="session_Id"
%SAX(1,"d",4)=124364
%SAX(1,"n")=1
%SAX(1,"n",1)="http://www.w3.org/2001/XMLSchema-instance"
%SAX(1,"v")=6
rdr=<OBJECT REFERENCE>[1@%XML.Reader]
xml="<?xml version="1.0" encoding="UTF-8"?> <session> <session_Id>124364</session_Id> </session>"
SAMPLES>edited and simpler
%BuildIndices is required if the indexed values are manipulated directly in the Global.
OR if the index definition is changed in Class or By DDL
during use as Object or SQL table it is maintained automatically.
Hi @Ben Spead !
My personal congratulations to see you here!
Working with you and your team on the worldwide HERMES project was one
of my highlights during my time at InterSystems.
It was due to your interpersonal skills to make this team so successful.
It was so special to me to participate and share this experience.
As a Sales Engineer with no local office I often felt "at the outer border of the milky way".
Not lost in space but almost.
But working in your team gave me the feeling of a "technical home".
As Engineer I enjoyed to style and create a product.
Which was more important to me than to consult, advice, and teach how to use some features.
Big THANKS for that!
Robert
from class documentation:
You can import files exported in
You should do an export of one of this types and then see
how this may match your .vm thing.
Your screenshot is definitely some XML
But it doesn't match any formatting structures or rules required in IRIS or Caché.
another hack:
Example:
CREATE PROCEDURE ANY.NAME()
LANGUAGE OBJECTSCRIPT
{
;;; fill in whatever you want to do
}or over SQL using OEX package SQL-for-ERRORS-Global
I just gave it a try:
According to docs
processing 8-bit on a unicode install should be possible
,,,, while a Unicode instance can process both 8-bit and 16-bit data.
It's anyhow a tricky exercise
simply search
do LOG^%ETN
does an actual snapshot and you my examining the actual content at that point of time in SMP
This docu on Cached Queries may be an explanation of what you identified