VA FileMan V. 22.0 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Advanced File Definition

File Global Storage


Storing Data in a Global other than ^DIZ

When setting up a new file, (Modify File Attributes option), you can instruct VA FileMan to:

OR:

The dialog looks like this:

    MODIFY WHAT FILE: TEST
    ARE YOU ADDING 'TEST' AS A NEW FILE? Y  (YES)
    FILE NUMBER: 24000//  
    INTERNAL GLOBAL REFERENCE: ^DIZ(24000,//  

At this prompt, you either press the Enter/Return key to choose the default or you type an explicit global reference. This reference is in the following format:

    ^GLOBAL( or ^GLOBAL(subscript1,subscript2,…

The ^ preceding GLOBAL( need not be entered. Extended global reference ([UCI]) may be entered ahead of the global name. If the subscripted global already exists with data in it, a warning message is displayed.

If the subscripted global is a descendent of a global that stores the data for another file, an error message is displayed. For example, if a file's data is stored at:

^GLOBAL(662001,

you cannot define another file that stores its data at:

^GLOBAL(662001,"A",

 


Reviewed/Updated: March 4, 2007