New post

Find

Discussion (9)1
Log in or sign up to continue
Article
· Dec 10, 2024 4m read

第四十六章 终端输入 输出 - CLOSE 命令

第四十六章 终端输入 输出 - CLOSE 命令

CLOSE 命令

释放设备的所有权,这是通过OPEN命令获得的。

语法

CLOSE device

终端预定义助记符空间

IRIS 提供了两个预定义的助记符空间供终端使用:

  • ^%X364 用于 ANSI X3.64 终端
  • ^%XDTM 用于 DTM PC 控制台

如果激活这些助记符空间之一,则可以在WRITE /mnemonic命令中使用与它们关联的控制助记符。还可以创建自己的助记符空间。有关助记符空间的更多信息,请参阅使用助记符空间控制设备。

以下部分描述了这些助记符空间的控制助记符。

Discussion (0)1
Log in or sign up to continue
Question
· Dec 10, 2024

Git Source Control not tracking CSP changes

Hey everyone, I am implementing version control with git-source-control on our codebase and I ran into a pretty strange issue. I believe I have the set up (mostly) correct as the behavior with .cls files is exactly as expected. However, I noticed that git is not keeping track of any changes to CSP files.

Specifically, if a new CSP file is created and saved, I will get the following output:

exporting new version of /csp/testdb/wrc.csp to C:\InterSystems\IRIS\mgr\repo\TESTDB\csp\testdb\wrc.csp

Added /csp/testdb/wrc.csp to source control.

C:\InterSystems\IRIS\mgr\repo\TESTDB\csp\testdb\wrc.csp removed from uncommitted list

exporting new version of /csp/testdb/wrc.csp to C:\InterSystems\IRIS\mgr\repo\TESTDB\csp\testdb\wrc.csp

Added /csp/testdb/wrc.csp to source control.

C:\InterSystems\IRIS\mgr\repo\TESTDB\csp\testdb\wrc.csp removed from uncommitted list

However, if I change a CSP file and save it, it simply compiles with no exporting, and git is unaware of any changes. I can neither see the change when running git status nor git add the file. When I went digging in the git repository location, the csp file is indeed completely unchanged (but the CSP files stored in /csp/ have changed). This is different to the behavior I observe when making changes to a .cls file. When I change a .cls file and save those changes, the output is as follows:

exporting new version of PET.DataFile.CLS to C:\InterSystems\IRIS\mgr\repo\PETDB\cls\PET\DataFile.cls

and git becomes aware of the change. 

Has anyone else seen this problem before? Did I neglect to turn on a setting somewhere? I have a sneaking suspicion that this might have something to do with server vs client side editing, but I did follow the official documentation around defining workspaces and I also made sure that there wasn't conflicting local folder settings. Any ideas would be much appreciated. Thanks! 

8 Comments
Discussion (8)2
Log in or sign up to continue
Question
· Dec 10, 2024

Deploy .cls files to a remote server using scripts/command line

I am developing locally on my IRIS instance using VSCode and client-side editing approach. How can I automatically export a single .cls file/a whole package to a remote TEST/PREPROD server using a script or command line and recompile the unit remotely? Are there any more simple and straightforward ways than CI/CD explained in the series of articles by Eduard?

3 Comments
Discussion (3)3
Log in or sign up to continue
Discussion (0)1
Log in or sign up to continue