User bio
404 bio not found
Member since Apr 14, 2022
Replies:

%NOJOURNDOC

Suppress journaling and disables transactions for the duration of the insert operation. None of the changes made in any of the rows are journaled, including any triggers pulled. If you perform a ROLLBACK after a statement with %NOJOURN, the changes made by the statement are not rolled back. This option requires setting the corresponding %NOJOURN administrative privilege. Failing to set this privilege generates an SQLCODE -99 error on insert.

Here is a small example:

Class dc.test Extends %Persistent
{

Property log As %String;

ClassMethod Test()
{
  ..%KillExtent()
  
  TS
  &sql(insert into dc.test(log)values('log1'))
  &sql(insert %NOJOURN into dc.test(log)values('log2'))
  &sql(insert into dc.test(log)values('log3'))
  TRO
}

}

Perhaps in the future you will want to disable the web application not entirely, but specifically some specific functionality (package or class). In this case, you will find this useful - Enabling Access to Pages and Classes

The same can be done programmatically, via CPF or even the Management Portal itself (System > Security Management > Web Applications > Edit Web Application - (security settings) > Percent Class Access):

PS: a complete list of built-in and system applications with a description: Built-In and System Applications

Merge ^|"ONS"|IRIS.TempRSet=^|"ENS"|IRIS.TempRSet

Why do this if ^IRIS.Temp* is accessible from any namespace?

Certifications & Credly badges:
Vitaliy has no Certifications & Credly badges yet.
Followers:
Following:
Vitaliy has not followed anybody yet.