<b>[sessionevents.csp]</b></A></td><td>{sesstimeoutcomment} <b>[zipcode.csp]</b>[Demo of using ][ to process client events on the application server.]<A,HREF={zipcodehref}> =<b>[xmlclasses.csp]</b>[Demo of displaying class instances as XML.]<A,HREF={xmlclasseshref}> <a,href=http://www.intersystems.com><img,src={cspiscgifname}> =[CSP Samples Directory][Display class instances as XML]+<tr><A><b>{pageincspdirectory}</b>+ [CSP Samples Directory][Display class instances as XML]<tr><A><b>{pageincspdirectoryagain} [Text that cannot be matched]{variablethatdoesnotexist} ~<title>{pagetitle}
该示例结果如下:
tOut("cspiscgifname")="created-with-csp.gif" tOut("pageincspdirectory",1)="xmlimport.csp" tOut("pageincspdirectory",2)="xmlquery.csp" tOut("pageincspdirectory",3)="zipcode.csp" tOut("pageinscpdirectoryagain")="xmlimport.csp" tOut("pagetitle")="CSP Samples Menu" tOut("sesstimeoutcomment")="Example of how to use the session timeout event." tOut("xmlclasseshref")="showsource.csp?PAGE=/csp/samples/xmlclasses.csp" tOut("zipcodehref")="showsource.csp?PAGE=/csp/samples/zipcode.csp"
*.tmpl语法解析如下:
[] 普通文本。 <> HTML 标签 <,=> 要匹配具有特定属性的 <> 标记。 {} 大括号中的项目匹配字面文本,并将其保存在大括号中命名的下标下。 = 从 HTML 输入的起始位置搜索后续模板内容 ~ 从 HTML 输入的起始位置开始搜索后续模板内容,但前提是 HTML 流已到达终点。 ++ 在 + 符号之间出现的项目会重复匹配。
转到文章
系统资源管理器 - > 类 -> 开始
点击 ‘导入’
转到文章
先确定一下您的连接信息是否正确,例如使用其他rabbitmq客户端工具试一下连接信息。您是否使用TLS? 如果不使用,可以将 set settings.keyPassword = "123456",替换为set settings.password = "123456"。
转到文章
这个pTemplate参数是一个模板文件 *.tmpl, 示例如下所示:
Do ##class(Ens.Util.HTML.Parser).testFile("http://localhost:57772/csp/samples/menu.csp","C:\test\MenuFind.tmpl",.tOut)
文件 MenuFind.tmpl示例如下:
<b>[sessionevents.csp]</b></A></td><td>{sesstimeoutcomment}
<b>[zipcode.csp]</b>[Demo of using ][ to process client events on the application server.]<A,HREF={zipcodehref}>
=<b>[xmlclasses.csp]</b>[Demo of displaying class instances as XML.]<A,HREF={xmlclasseshref}>
<a,href=http://www.intersystems.com><img,src={cspiscgifname}>
=[CSP Samples Directory][Display class instances as XML]+<tr><A><b>{pageincspdirectory}</b>+
[CSP Samples Directory][Display class instances as XML]<tr><A><b>{pageincspdirectoryagain}
[Text that cannot be matched]{variablethatdoesnotexist}
~<title>{pagetitle}
该示例结果如下:
tOut("cspiscgifname")="created-with-csp.gif"
tOut("pageincspdirectory",1)="xmlimport.csp"
tOut("pageincspdirectory",2)="xmlquery.csp"
tOut("pageincspdirectory",3)="zipcode.csp"
tOut("pageinscpdirectoryagain")="xmlimport.csp"
tOut("pagetitle")="CSP Samples Menu"
tOut("sesstimeoutcomment")="Example of how to use the session timeout event."
tOut("xmlclasseshref")="showsource.csp?PAGE=/csp/samples/xmlclasses.csp"
tOut("zipcodehref")="showsource.csp?PAGE=/csp/samples/zipcode.csp"
*.tmpl语法解析如下:
[] 普通文本。
<> HTML 标签
<,=> 要匹配具有特定属性的 <> 标记。
{} 大括号中的项目匹配字面文本,并将其保存在大括号中命名的下标下。
= 从 HTML 输入的起始位置搜索后续模板内容
~ 从 HTML 输入的起始位置开始搜索后续模板内容,但前提是 HTML 流已到达终点。
++ 在 + 符号之间出现的项目会重复匹配。
转到文章
压缩是将数据库中的可用空间移至数据库末尾,但是这个时候数据库占的磁盘空间并没有变化,截断是将数据库压缩过的可用可空间腾出来,这个时候磁盘空间才会真的空出来。所以要对数据库进行先压缩,再截断。才能获得更多的磁盘空间。
是否影响业务运行,需要查看您当前业务系统中使用的版本,请和WRC确认您的版本是否可以进行数据库压缩和截断,且建议不要在业务高峰期做。
转到文章
IRIS不支持使用CodeMirror进行代码编辑
转到文章
您可以试一下:
##class(%Library.DateTime).OdbcToLogical("2023-11-28T13:57:26")
转到文章
看一下您的license文件是不是OK
转到文章
您是在什么环境配置呢?windows的话,照着上面的截图配置,Linux的话需要安装配置unixODBC。
转到文章
看您是什么操作系统,Linux的话可以用fdisk命令进行分区。
转到文章
如果您是IRIS或者HC的2017.4版本以上的话,可以用REST API 接口 http://<IP>:<端口号>/api/monitor/alerts
转到文章
您说的是哪个log呢? message Log ,alerts 还是event log?
转到文章
对,只能用SQL。
也可以再ensemble里面的消息查看器里面查看,如果您是测试环境,可以用下面的方式。如果是生产环境,就要先测试一下了。注意:这个只支持3M以内的数据查看
1. 新增一个类
2. 在所在命名空间下执行:
3. 在消息查看器中增加查询条件,使用LIKE。
转到文章
你可以用SQL query : SUBSTRING 将字符流显示出来,然后用LIKE 进行条件搜索:
例如:这个例子中的 Notes就是%Stream.GlobalCharacter类型数据
SELECT Name ,SUBSTRING(Notes,1) FROM Sample.MyTable WHERE SUBSTRING(Notes ,1) LIKE '%First%'
转到文章
CREATE TABLE Sample.YoungPeople
AS SELECT Name,Age
FROM Sample.People
WHERE Age < 21
或者
DO $SYSTEM.SQL.Schema.QueryToTable("SELECT Name,Age,AVG(Age) AS AvgInit FROM Sample.Person WHERE Age < 21","Sample.Youth",1,.errors)
如果您是2016版本,可以使用$SYSTEM.SQL.QueryToTable()
但是这个方法只复制查询中指定的字段的定义,包括数据类型、最大长度和最小值/最大值,但不复制字段的数据约束,如默认值、要求值或唯一值
转到文章
%Net.Remote.Gateway 是 %Net.Remote.Java.JavaGateway的基类,是用来建立JavaGateway的连接使用的。