Was this helpful?
compform Command--Compile a Form
The compform command compiles a form that is stored in a database and places it in a text file.
When you are developing applications, you often must compile a form for use with embedded SQL or other embedded query languages. Compiling a form reduces start‑up time when the form is then used in an embedded query language program.
The compform command performs the same operation as the Compile operation on the VIFRED Utilities menu.
To describe the form, the compform command produces a C language structure, by default.
The compform command has the following format:
compform dbname |vnode::dbname[/server_class] form filename
[-uusername] [-Ggroupid]
dbname
Specifies the name of the database. Also specifies the vnode and server_class, if required, as described in Standard Flags and Parameters on page 4.
form
Specifies the name of the form. You can compile only one form at a time.
filename
Specifies the name of the text file into which the compiled form is placed.
-uusername
Specifies the effective user for the session, as described in Standard Flags and Parameters on page 4.
-Ggroupid
Specifies a group identifier, as described in Standard Flags and Parameters on page 4.
Last modified date: 04/03/2024