Was this helpful?
iiexport Command--Copy Application Components to a File
The iiexport command copies one or more application components to a file. A component can be a frame, procedure, record type, global variable, or a global constant. You can copy all the components of a particular type from an application using one of the -all flags: -allframes, -allprocs, -allrecords, -allglobals, -allconstants.
When you copy a frame, iiexport copies the frame definition, including local components and Escape code. However, iiexport does not copy global components or child frames, unless they are explicitly specified. See the Handling Dependencies section for more information.
This command has the following syntax:
iiexport dbname applname [-intfile=filename] [-listing=filename]
  [-user=username] component=name{,name} {component=name{,name}}
where component is -frame, -proc, -record, -global, -constant,
-allframes, -allprocs, -allrecords, -allglobals, or -allconstants, and name{,name} is a comma-separated list with no spaces.
dbname
Specifies the database from which the component is being copied
applname
Specifies the application from which the component is being copied
-intfile=filename
Specifies the intermediate file created by iiexport. The filename can be the full pathname of the file. If you specify the
-intfile flag, you must indicate a file name. If you do not specify the -intfile flag, iiexport names the intermediate file iiexport.tmp.
-listing=filename
Specifies a file or lists the names of the source files for each frame copied. If you specify the -listing flag, you must indicate a file name. If -listing is not specified, ABF does not create a listing file.
-user=username
Runs the command as the user specified by username.
To use this option, you must be a privileged user.
If you are using Enterprise Access products (formerly Gateways), see your Enterprise Access documentation before using this parameter.
-frame=name{,name}
Indicates the name of one or more frames to be copied
-proc=name{,name}
Indicates the name of one or more procedures to be copied
-record=name{,name}
Indicates the name of one or more record types to be copied
-global=name{,name}
Indicates the name of one or more global variables to be copied
-constant=name{,name}
Indicates the name of one or more global constants to be copied
-allframes
Indicates that all frames must be copied from the application
-allprocs
Indicates that all procedures must be copied from the application
-allrecords
Indicates that all record types must be copied from the application
-allglobals
Indicates that all global variables must be copied from the application
-allconstants
Indicates that all global constants must be copied from the application
Last modified date: 01/30/2023