User bio
404 bio not found
Member since Jun 30, 2016
Posts:
Replies:
Although the interface is clunky for looking through large journal files, the startup cost is negligible:
%SYS>DO ^JRNDUMP
Select "G" for Goto
File: enter your filename which doesn't have to be and shouldn't be in the main journal directory.
At this point the interface is limited, but "F" for Find might help.
If you are trying to run arbitrary code from a Windows .BAT file, the following almost works:
ECHO ZN "%%SYS" DO ^^^^SECURITY HALT | C:\InterSystems\Cache\bin\cache.exe -s C:\InterSystems\Cache\mgr
The limitations are:
- You have to specify the locations of the Caché or IRIS executable and the \mgr directory with an -s option.
- One cannot redirect command input from the terminal, so what you run can't be interactive.
- Quoting for Windows may annoy you.
Certifications & Credly badges:
Stuart has no Certifications & Credly badges yet.
Global Masters badges:
Stuart has no Global Masters badges yet.
Followers:
Stuart has no followers yet.
Following:
Stuart has not followed anybody yet.
A simpler solution than using
SET rs=##CLASS(%ResultSet).%New("%File:FileSet")
, is the$ZSEARCH()
function:There is no need to create a child process or use classes.