You assign default values for the interactive input required in transport mode by entering appropriate options.
When you call the Loader using the Loader CLI, you can enter options for starting the Loader CLI in transport mode.
loadercli –p
[<connect_options>]
[<transport_options>]
After option –p, you can use further options for assigning default values for the granularity, the name of the package and the options for establishing the connection.
transport_options
<package_name> |
Name of the
generated package (phase generate) for which an export or transport can be
executed (phase execute) Default value: time stamp that specifies when the package was generated |
-t <TRANSPORT|EXPORT|IMPORT> |
Type of the transformation TRANSPORT:
Transport |
-T <EXECUTE|GENERATE> |
Transformation type EXECUTE: Execute
the transformation |
connect_options
-d[SRC|TRG] <database_name> |
Name of database instance |
-u[SRC|TRG] <database_user>[,<password>] |
Name and password of the database user |
-n[SRC|TRG] <database_computer>[:<port>] |
Name of database computer Default value: local computer |
-s[SRC|TRG] <database_schema> |
Name of the database schema Default value: schema of the current database user |
-e <encryption> |
Encryption method. Possible values: SSL (currently, only SSL/TLS encryption is supported in SAP systems) |
See also: Options for Establishing a Connection
Calling the Loader in Transport Mode
loadercli –p -t export -dSRC demodb -uSRC mona,red –nSRC genua –sSRC hotel
The Loader establishes a connection to database instance DEMODB for user MONA to export the data of the HOTEL schema. The further required input is interactively made in transport mode.
Other examples: Transport Mode: Examples
In transport mode the user is interactively prompted for input to export application data from one database instance and, if appropriate, import it into another database instance. The input parameters and the Loader configuration file are used to generate (phase generate) and execute (phase execute) the syntax of the Loader commands.
You can predefine the input parameters by means of the options listed above and thus shorten the interactive prompts as corresponding information was already transferred by means of an option.
For the options for establishing connection you can use the key words SRC or TRG to illustrate whether this is the source database or target database.
See also:
Call Options of the Loader CLI