Files > PARAMETER DEFINITION

name
PARAMETER DEFINITION
number
8989.51
location
^XTV(8989.51,
description
This file contains the characteristics of parameters. Entries in this file must be namespaced and they are exported by the package which owns them.
Fields
#NameLocationTypeDetailsIndexDescription
.01name(+)0;1FREE TEXTBThis is the name of the parameter. It should be namespaced according to the package from which the parameter originated.
.02display text0;2FREE TEXTThis is the displayable name for the parameter (allows mixed case, non-namespaced names).
.03multiple valued0;3BOOLEAN1:Yes
0:No
If this field is set to 'Yes', multiple instances of the parameter will be allowed for a single entity. Otherwise, the value of the instance field for a given Entity-Parameter combination will always be '1'.
.04instance term0;4FREE TEXTThis is a free text term that can be used when prompting for a new instance of the parameter (in the case where the parameter in multiple valued). If not entered, the word "Instance" will be used.
.05value term0;5FREE TEXTThis contains text that is issued as a prompt for the value. If nothing is here, the prompt will be the word 'Value:'.
.06prohibit editing0;6BOOLEAN1:Yes
0:No
This field prevents the parameter value from being edited with Fileman or any Parameters tools.
1.1value data type1;1SET OF CODESD:date/time
F:free text
N:numeric
S:set of codes
Y:yes/no
P:pointer
W:word processing
M:M code
C:constant
This is the type of data this parameter will contain. This field is used to define a call to the reader (^DIR) in most cases.
1.2value domain1;2FREE TEXTThis is a string that may be used to further specify the data type. The string stored here should be appropriate for the second ^-piece of DIR(0) when used with the data type field.
1.3value help1;3FREE TEXTThis field contains a line of help text that is displayed when the user requests help or encounters an error while entering the VALUE field in the PARAMETERS file.
2value validation code2;E1,245FREE TEXTThis field contains the M code that is placed in the third piece of DIR(0) when validating a value in the PARAMETERS file.
3value screen code3;E1,245FREE TEXTThis field contains M code that is used to screen allowable entries for the VALUE field in the PARAMETERS file. The code is placed in DIR("S") when validating the entry.
4keyword4;0MULTIPLE8989.514
6.1instance data type6;1SET OF CODESD:date/time
F:free text
N:numeric
S:set of codes
Y:yes/no
P:pointer
This is the type of data that is contained in the INSTANCE field of the PARAMETERS file, if multiple parameter instances per entity are allowed. This field is used to define a call to the reader.
6.2instance domain6;2FREE TEXTThis may be used to further define the data type for the INSTANCE field of the parameter. The string stored here should be appropriate for the second ^-piece of DIR(0) when used with the data type field.
6.3instance help6;3FREE TEXTThis field contains a line of help text that is displayed when the user requests help or encounters an error while entering the INSTANCE field of the PARAMETERS file.
7instance validation code7;E1,245FREE TEXTThis field contains M code that is placed in the third piece of DIR(0) when validating the INSTANCE field in the PARAMETERS file.
8instance screen code8;E1,245FREE TEXTThis field contains M code that is used to screen allowable entries for the INSTANCE field in the PARAMETERS file. The code is placed in DIR("S") when validating the entry.
20description20;0WORD-PROCESSINGA description of the parameter may be entered here.
30allowable entities30;0MULTIPLE8989.513This multiple contains a list of entities (pointers to files) for which the parameter may be validly set.

Referenced by 2 types

  1. PARAMETERS (8989.5) -- parameter
  2. PARAMETER TEMPLATE (8989.52) -- use instance from