Defining an Import/Export Program
An import/export program lets you export data from a file in one database (data area/data ID), making it possible to import it to a file in another database (data area/data ID). The import/export program writes the data to an export file. You can import the data in this export file to another database using the Import An Export File utility (for more information, see the System Utilities Reference Guide).
In the import/export program, you can also define parameters and record selection conditions, making the program export only the records that satisfy these parameters and conditions. If you do not define parameters and conditions, the program exports all records in the file.
You can run an import/export program interpretively, or you can generate it into COBOL. You cannot paint a report for an import/export program.
To define an import/export program