VA FileMan V. 22.2 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 [DIMODIFY] option), you can instruct VA FileMan to do either of the following:

The dialog looks like Figure 384:

Figure 384: File Global Storage—Storing Data in a Global Other than ^DIZ: Sample User Prompts

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

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

Figure 385: File Global Storage—Storing Data in a Global Other than ^DIZ: Global Reference Format

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

The caret (^) preceding GLOBAL( need not be entered. Extended global reference ([UCI]) can 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:

Figure 386: File Global Storage—Storing Data in a Global Other than ^DIZ: Sample Global Storage Location of a Subscripted Descendent Global

    ^GLOBAL(662001,

You cannot define another file that stores its data at:

Figure 387: File Global Storage—Storing Data in a Global Other than ^DIZ: Incorrect Global Storage Location of a Subscripted Descendent Global

    ^GLOBAL(662001,"A",

 


Reviewed/Updated: May 2026