Download Introduction

Transcript
Global File Structure
Fileman 22.2 Programmer Manual
Data Storage: Nodal Limits
The total length of a data node in Fileman’s M database is controlled by
^DD(“STRING_LIMIT”). Set this node to the maximum number of
characters that can be stored on a single global node. If
^DD(“STRING_LIMIT”) is not set, by default Fileman will restrict global
nodes to 256 characters. The 256 character limit was adopted by the last M
standard in 1995. Today, M implementations support significantly longer
global nodes.
File's Entry in the Dictionary of Files
All Fileman files, regardless of the global used for data storage, have an
entry in the Dictionary of Files—the ^DIC global descendent from the file's
DD number.
The zero subscript contains the file name and file number.
The global location (GL) node descendent from subscript zero is set to the
root of the global used to store data for this file. So, the (fictitious)
EMPLOYEE file example may have the following:
^DIC(3,0)
= "EMPLOYEE^3"
^DIC(3,0,"GL") = "^EMP("
The ^DIC global also contains the file's security protection codes, if any,
descendent from the zero subscript in the following nodes:
^DIC(filenumber,0,"AUDIT")
^DIC(filenumber,0,"DD") -^DIC(filenumber,0,"DEL")
^DIC(filenumber,0,"LAYGO")
^DIC(filenumber,0,"RD") -^DIC(filenumber,0,"WR") --
March 2013
-- Audit Access
Data Dictionary Access
-- Delete Access
-- LAYGO Access
Read Access
Write Access
577