Previous Topic: Import ExitNext Topic: IMPORT Command


Source Transport Commands

This section describes the commands accepted by the Source Transport Utility.

EXPORT Command

The EXPORT command writes the specified entity to an external source file in the format acceptable to IMPORT. Authorization is checked for each command. You can export only one copy of an entity in a run. Exporting the same entity more than once to an external file results in a warning message.

This command has the following format:


       {{{ DVW }                                        }}
       {{{ PGM }      [        { nnn  } ]               }}
EXPORT {{{ PNL } name [VERSION { PROD } ] [SYSTEM sss]  }}
       {{{ RPT }      [        { LAST } ]               }}

       MEM mem‑name [USER uuu]

If not specified here, the version, system, and user are obtained from the appropriate SET EXPORT command. You must specify the version and system for programs, panels, or reports if they are not specified on a SET EXPORT command. When you do not specify a user on either command, the current user ID is used.

The entity statname

Defines the name of the unmodeled dataview, program, panel, or report to export.

VERSION

Identifies the version of the program, panel, dataview, or report.

nn

The one‑ to three‑digit version number assigned to the entity.

PROD

The production status version.

LAST

The latest version of the entity created, which has the highest version number.

sys

Identifies the name of the system from which the specified entity is exported. The SYSTEM is not specified for dataviews.

mem‑name

Identifies the name of the member to export.

uuu

Identifies the user ID associated with the member.us, date compiled, date modified, and sequence numbers are written to the source file for documentation.