Was this helpful?
imageapp Command--Create a Command File
Build an image from the operating system level by using the imageapp command. This command builds an executable image the same way that the Image menu item does, but uses a command-line syntax instead of the forms-based interface. Include the imageapp command in a command file or a batch file.
This command has the following format:
imageapp [v_node::]dbname applicationname [-uusername][-f]
      [-w][-5.0][+wopen][-oimagename][-GgroupID][-Rrolename]
      [-constants_file='filename']
[v_node::]dbname
Specifies the name of the database.
If you are using a database that resides on a remote host, you must specify the v_node, followed by two colons. For example:
server1::orderdb
applicationname
Specifies the name of the application from which to build an image.
If not specified, Vision prompts you for the application name.
-uusername
Runs the application as if you were the user represented by username.
Files created under this flag are owned by the user actually running the Vision process, not by username.
To use this option, you must be a privileged user.
If you are using Enterprise Access Products (formerly Gateways), refer to your Enterprise Access documentation before using this parameter.
-f
Forces Vision to recompile the 4GL code for the entire application, even if no changes have been made since the last time it was compiled.
-w
Causes all warnings to be turned off. For more information, see Disabling Warnings.
-5.0
Invokes 4GL in a mode that is compatible with Ingres Release 5. For more information, see 5.0 Applications.
+wopen
Generates warnings if Vision detects statements that are not compatible with OpenSQL
-oimagename
Specifies the name for the image. If the -o flag is not specified, Vision uses the default image name specified in the Applications Defaults window. If no default image name is specified, the image is given the same name as the application.
-Ggroupid
VMS: Lets you run or edit the application as a member of the group specified.
Capital letter flags require double quotes in VMS, for example:
"-Ggroupid"
-Rrolename
VMS: Assigns a role to an application image.
If you specify a role name, you are prompted for the role's password.
Capital letter flags require double quotes, for example: "-Rrolename"
-constants_file='filename'
Specifies a file containing values for the application's constants. If the
-constants_file flag is specified, the values in the constants file override the values for the constants stored in the application.
The filename can be the full directory path name for the constants file.
Example: imageapp command
To recompile all frames and create an image called "orders" for the Order_entry application in the Inventory database, enter:
imageapp inventory order_entry -oorders -f
Last modified date: 08/28/2024