the correct syntax
ccontrol [ run OR console OR cterminal ] <instance name>
Runs Caché in programmer mode with
[ no-device OR console OR cterminal ] for $Principal
- Log in to post comments
the correct syntax
ccontrol [ run OR console OR cterminal ] <instance name>
Runs Caché in programmer mode with
[ no-device OR console OR cterminal ] for $Principal
???
be more specific
try this dirty hack:
the code fails already for start year 1924 <NULL VALUE>
and is in principle wrong 🙁
From my IBM-360-Assembly programming times in the late 60ties
If your code is running hard,
apply a switch to make it smart
instead of strange constructs that are hard to follow,
I would just take the pragmatical way and add a param SUPER=0
Class SubClass Extends MyClass
{
ClassMethod Foo(SUPER = 0 )
{
if SUPER do ##super() quit
. . . . .
do ##super() // <----
}
}The efficiency is evident also to less sophisticated programmers
You may place a PRODLOG at WRC;
And it might be changed in some future release.
Congrats!
I suspected the error to be outside SQL
👍
Are you sure the 2nd parameter of the stored procedure is of type %String(MAXLEN="") without length limit?
ERROR: - OK
which error ?? pls. be specific with all details
hint for SQL Escaping
but test in SQL Shell shows no problem
USER>do $system-.SQL.Shell()
SQL Command Line Shell
----------------------------------------------------
The command prefix is currently set to: <<nothing>>.
Enter q to quit, ? for help.
USER>>select 'HbA1cTests.sort(''testDate'',false)[0].resultValue'
1. select 'HbA1cTests.sort(''testDate'',false)[0].resultValue'
HostVar_1
HbA1cTests.sort('testDate',false)[0].resultValue
1 Rows(s) Affected
statement prepare time(s)/globals/lines/disk: 0.0002s/5/166/0ms
execute time(s)/globals/lines/disk: 0.0002s/0/385/0ms
cached query class: %sqlcq.USER.cls117
---------------------------------------------------------------------------
USER>>Congratulations! $INCREMENT always works!
Congratulations You could finally work around the issue.!
Simplified:
WIJ is the on-disk image of your modified buffers.
If buffers are changed they get updated on-disk by an asynchronous background process.
The modified date is typically the last modification at file close.
writing modification date at every file update as you expect will break every file system.
Transposing your expectation to a text editor would mean to update the file and date at every new line:
I suppose you would be disappointed by the related performance reduction.
Though, from personal experience, this seems to be the standard operating style of almost every government.😉
n i f i=1:1:20 w !,$$save(file,glob) s id=^TEST zw id it looks like magic and the issue is independent of Global name
for testing, I would suggest this extension to the loop.
zw also shows any $Lb() in readable format
6, 7, seem to break sometimes ??
after I called the label a second time
pls. check ^TEST or ^TEST2 before the 2nd call
if it isn't starting with a number it throws <ILLEGAL VALUE>
I see no obvious reason in your code why it should NOT be Numeric.
so in your test loop you may do a "write ^TEST,! " to check this condition
what OS are you working with ? "C:/temp/file.xslt"
even deleting the lock from Terminal doesn't seems to work
Whatever you try to express doesn't make sense
Any kind of LOCK is bound just to the job that executes it
there is just no "UNLOCK" from outside except job termination.
the locking job in your screenshot is 9908
but your terminal is job 10376
expressed in a picture:
- you try to catch a fly in your room that is flying somewhere outside the building
Part of it (KILL, SET, TSTART, TCOMMIT, TROLLBACK) by global by process can be traced by examination of JOURNAL
.png)
There is nothing similar for Global READ
You may try this approach to convert JSON into a Global for search and iteration
ClassMethod Calendar(y As %Integer) As %String
{
s a=$lfs("Monkey,Rooster,Dog,Pig,Rat,Ox,Tiger,Rabbit,Dragon,Snake,Horse,Goat,Metal,Water,Wood,Fire,Earth") q $li(a,y\2#5+13)_" "_$li(a,y#12+1)
}great idea:: integers as separators!
just realized the separating blank broke the line in display.
I didn't get the meaning of Field(ge=0) immediately
I see 6 variants to achieve this in IRIS in order of my personal preference
There are eventually more options
you are not quite correct:
abstract class %CSP.Stream is a base class for
you decide which one to use
Where is the problem ?
First bid:
#1) Subscript > 511 chars is not allowed.png)
#2) your browser broke the CSPCHD token for some CSP page
.png)
Thanks @Bob Kuszewski !
Sniffing through System Globals and Journals I found ^oddPYTHON and more:
I'm convinced it works as before
Thanks @Bob Kuszewski !
Sniffing through System Globals and Journals I found ^oddPYTHON and more:
I'm convinced it works as before
contact ISC sales, buy an appropriate license, and you get access to WRC and the Kit repo
Last version of Caché was 2018
I see. just Sub-sessions: