Import Operation (Magic xpa 4.x)
This operation has the following parameters:
Import, <file name>, <switches>
The file name and path used as the source file for the import process.
Optional instructions for the Import operation:
ImportFolderInfo=Y/N
When the switch is set to Y, the selected objects are imported into their defined folder. The default value is N.
OverwriteMainProgram=Y/N
When the switch is set to Y, the imported Main Program overwrites the existing one. The default value is N.
OverwriteTarget=[repository entry number]
You can use this switch to import a specific export object to replace an existing object.
For example: Import, myobj.exp, Repository=P, OverwriteTarget=17
If the target does not exist, the Import operation handles the import object, as if the switch has not been set, placing the imported object at the end of the repository.
The Main program cannot be overwritten with this switch. You can only overwrite the Main Program by using the OverWriteMainProgram switch.
Menus, Application Data, and Rights are always imported in their entirety, and the OverwriteTarget switch is ignored.
If the target object is found, the ImportFolderInfo switch is ignored.
AutoCheckOut=Y/N
When this switch is set to Y and the application is defined in a team development environment, the imported repositories are automatically checked out.
For example: Import, a.exp, ImportFolderInfo=Y OverwriteMainProgram=Y OverwritePulldownMenu=N