1 12/20/86 create_domain, crd
 2 
 3 
 4 Syntax: crd domain_name data_type {-control_args}
 5 
 6 
 7 Function:  creates an unreferenced domain in the currently readied data
 8 base.
 9 
10 
11 Arguments:
12 domain_name
13    is the name of the domain to be created.
14 data_type
15    is the underlying data type of the domain.  If the data_type
16    contains spaces or parentheses, it must be quoted.  See the notes
17    section below for a list of supported data types.
18 
19 
20 Control arguments:
21 -check_procedure path, -check_proc path
22    performs data verification checks (such as ensuring valid dates)
23    upon storage into the data base.  "path" may be an absolute or
24    relative pathname.
25 -decode_declare data_type, -decode_dcl data_type
26    is the underlying data type of the argument to the decode procedure
27    for this domain.  See "Notes" for a list of supported data types.
28 -decode_procedure path, -decode_proc path
29    performs data decoding upon retrieval from the data base, normally
30    the inverse of the encode procedure.  "path" may be an absolute or
31    relative pathname.
32 
33 
34 -encode_procedure path, -encode_proc path
35    performs data encoding (such as the names of the states of the USA
36    to integers 1-50) before storage in an internal data base form.
37    "path" may be an absolute or relative pathname.
38 
39 
40 Notes:  Any legal PL/1 scaler data type that can be declared using
41 the following declaration description words is allowed in MRDS.
42    aligned                    float
43    binary or bin              nonvarying
44    bit                        precision or prec
45    character or char          real
46    complex or cplx            varying or var
47    decimal or dec             unaligned or unal
48    fixed