progress.prodict.dictvar10.i Maven / Gradle / Ivy
/*********************************************************************
* Copyright (C) 2006 by Progress Software Corporation. All rights *
* reserved. Prior versions of this work may contain portions *
* contributed by participants of Possenet. *
* *
*********************************************************************/
/*dictvar.i - dictionary shared variable definitions
Modified:
02/19/97 DLM Changed cache_file from extent 1024 to 2048 (97-02-14-001)
12/28/98 Mario B 12/28/98 Add s_In_Schema_Area enable 1 time notification.
07/28/99 Mario B Support for array data types. BUG 19990716-033.
10/14/99 Mario B Removed shared variable s_Set_Anyway. No longer needed.
03/13/06 fernando Store table names in temp-table - bug 20050930-006.
06/12/06 fernando Support for int64
*/
DEFINE {1} SHARED VARIABLE dict_rog AS LOGICAL NO-UNDO.
DEFINE {1} SHARED VARIABLE dict_trans AS LOGICAL NO-UNDO.
DEFINE {1} SHARED VARIABLE dict_dirty AS LOGICAL NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_dirty AS LOGICAL INITIAL TRUE NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_db# AS INTEGER INITIAL 0 NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_db_s AS CHARACTER EXTENT 64 NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_db_l AS CHARACTER EXTENT 64 NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_db_p AS CHARACTER EXTENT 64 NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_db_t AS CHARACTER EXTENT 64 NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_db_e AS CHARACTER EXTENT 64 NO-UNDO.
/* s=schema_db, l=logical_db, p=physical_db, t=db_type(int), e=db_type(ext)*/
DEFINE {1} SHARED VARIABLE cache_file# AS INTEGER INITIAL 0 NO-UNDO.
DEFINE {1} SHARED VARIABLE cache_file AS CHARACTER EXTENT 2048 NO-UNDO.
DEFINE {1} SHARED VARIABLE l_cache_tt AS LOGICAL INIT NO NO-UNDO.
DEFINE {1} SHARED VARIABLE drec_db AS RECID INITIAL ? NO-UNDO.
DEFINE {1} SHARED VARIABLE drec_file AS RECID INITIAL ? NO-UNDO.
DEFINE {1} SHARED VARIABLE s_DbRecId AS RECID INITIAL ? NO-UNDO.
DEFINE {1} SHARED VARIABLE s_In_Schema_Area AS LOGICAL INIT NO NO-UNDO.
/* set when a pre-101b db, so we don't allow 10.1B stuff */
DEFINE {1} SHARED VARIABLE is-pre-101b-db AS LOGICAL NO-UNDO.
/* for bug fix 20050930-006 */
&IF DEFINED(NOTTCACHE) = 0 &THEN
DEFINE {1} SHARED TEMP-TABLE tt_cache_file NO-UNDO
FIELD nPos AS INTEGER
FIELD cName AS CHARACTER
FIELD p_flag AS LOGICAL
INDEX nPos IS UNIQUE PRIMARY nPos
INDEX cName cName.
&ENDIF
&IF "{&DATASERVER}" = "YES" OR "{&ORACLE-DATASERVER}" = "YES"
&THEN
{ prodict/ora/ora_lkdf.i
&new = " {1}"
} /* Defines temp-table s_ttb_link for DATASERVER*/
{prodict/gate/gatework.i
&new = " {1}"
&selvartype = "{1} shared variable s"
&options = "initial ""*"" "
} /* Defines: temp-table gate-work */
&ENDIF
© 2015 - 2024 Weber Informatics LLC | Privacy Policy