Executes an existing Import Profile.
For flat files, the syntax is:
Execute Import Parameters(importtype, profilename, filename, waitforcompletion)Values('flatfile', 'Comma', '.\AppFiles\CommaApp.ads', 'true');
For interface tables, the syntax is:
Execute Import Parameters(importtype, profilename, waitforcompletion) Values('InterfaceTables', 'intapp', 'true');
For Data Relationship Management, the syntax is:
Execute Import Parameters(importtype, profilename, waitforcompletion) Values('DRM', 'DRM Profile', 'true');
ImportType—The type of import to perform. Allowed values:
FlatFile
InterfaceTables
DRM (Data Relationship Management)
ProfileName—The name of an existing import profile.
FileName—The name of the flat file to import, if doing a flat file type import.
Note: |
If you are importing an interface table or a Data Relationship Management file, you do not use the FileName parameter; it is only used for flat file imports. |
WaitForCompletion—If set to true, the Batch Client waits for the job to finish. If set to false, the Batch Client submits the job and continues. Allowed values:
True
False