Uniface Maximums
The maximum values that occur throughout Uniface are inherent limits that you need to consider as you develop applications. Your DBMS or operating system may impose further restrictions of its own.
Uniface uses UTF-8 as its internal characters set and this is used when calculating limits in bytes. Characters in other character sets (as defined by $DEF_CHARSET and $SYS_CHARSET) are converted to UTF-8, which can mean that a value may fit in your system character set, but is too large for UTF-8.
What |
Maximum |
---|---|
Limits for Uniface: |
|
Number of parameters on command line |
64 |
Number of characters per parameter on command line |
256 |
Number of characters on command line |
16384 Your operating system limit applies |
Size of a search profile |
8192 bytes (UTF8) |
Number of operators for
|
Limited by available memory, and the limits imposed by the database connectors |
Size of a signature parameter for C and COM call-in and call-out |
10 MB |
Size of a string parameter for web service call-out |
400 MB on 32-bit systems, 1 GB on 64-bit systems. |
Size of a Uniface component signature parameter |
2 GB (UTF8) |
Limits for global objects: |
|
Length of object names |
— |
Value of a counter |
2,147,483,647 |
Number of items in a Menu |
99 |
Limits for entities: |
|
Number of fields in one entity |
Your DBMS limit applies |
Size of a fixed-length part of record |
|
Size of an index or primary key |
|
Number of relationships for a foreign key (in a supertype) |
64 |
Limits for fields: |
|
Number of places defined right of decimal in a packing code |
9 |
Length of a display format |
31 characters |
Lines of text entered in a unifield |
32,766 |
Length of data in an edit box |
64 KB (UTF8) |
Limits for components: |
|
Size of a component, width |
340 character cells |
Size of a component, height |
1000 lines |
Size of a component window, width |
340 character cells |
Size of a component window, height |
600 lines |
Number of fields painted |
About 4000 |
Size of label |
255 bytes (UTF8) |
Length of a logical widget name |
16 characters |
Size of a radio group (The maximum size of the ValRep for a radio group is 512 bytes. This is about 25 buttons of average size.) |
About 25 |
Size of a ValRep list in a list box, drop-down list, or combo-box |
32768 items1 |
Limits of the ProcScript language: |
|
Length of a message string set by askmess or message |
512 bytes (UTF8) |
Length of an askmess reply string |
512 bytes (UTF8) |
Number of replies for askmess |
25 |
Length of a component constant or global constant name |
32 characters |
Length of a component constant or global constant description |
25 characters |
Length of a single ProcScript statement |
1000 bytes (UTF8) |
Length of the contents of a trigger |
10 MB (UTF8) |
Length of a ProcScript label |
128 characters |
Limits of the Configuration Files: |
|
Length of a line in an assignment file |
1023 characters |