Kourier Integrator Online Help

KT.MOVETABLES

Syntax

KT.MOVETABLES INTEGRATION_ID {ACCOUNT_NAME{,ACCOUNT_NAME}}

Description

This program is used to move integration components from a source account to one or more target accounts.  It relies on each component beginning with the prefix specified by the integration_id parameter. The KT.MOVETABLES command should be run from the source account. The following files are processed:

KT_QUEUES

Make sure you wish to copy these components since they contain absolute paths to source/target DSNs.

KT_EXPORTS

Components that match the integration ID's selected will be placed in the suitcase. If suitcasing a "to SQL" type export, the Last Package Generation date/time fields are cleared.

KT_IMPORTS

Components that match the selected integration IDs will be placed in the suitcase.

KT_SERVICES

Only services are copied, not schedules.

KT_INTEGRATION

Make sure you wish to copy these components since they may contain account specific information (i.e. SITE_ID).

KT_INTEGRATION_XREF

Components that match the selected integration IDs will be placed in the suitcase.

KT_INTEGRATION_TYPE

Only the Lookup Names that were referenced when the KT_INTEGRATION_XREF components were added to the suitcase will be placed in the suitcase.

KT_EMAIL_TEMPLATES

Components that match the selected integration IDs will be placed in the suitcase.

KT_CONTROL

If the Include control items checkbox is checked, all non-runtime components from this file will be included in the suitcase.

KUST-PROGS

Components that match the selected integration IDs will be placed in the suitcase.

KT_DBCONNECTION 

Components that match the selected integration IDs will be placed in the suitcase.

KT_RESTDEFS 

Components that match the selected integration IDs will be placed in the suitcase. 

Options

INTEGRATION_ID

The name of the integration or an asterisk (*) for all items.

ACCOUNT_NAME

If specified, one or more account names can be specified by separating them with commas. If omitted, a list of valid Kourier Accounts will be displayed. Hint:  On UniData, if you specify an account name, make sure to specify the full path name to the account.

This command uses a wizard metaphor with two steps.  In step 1, a list of valid Kourier accounts are displayed and the user may eliminate accounts from the list by using the run-time commands documented below.  This list of accounts is always displayed even if you specify the account names in the command line.

In step 2, a list of Kourier components are displayed and the user may eliminate unwanted components from the list by using the run-time commands documented below.  Once this screen is filed, the selected components are copied to each account.  If net change was enabled for any export, the software will automatically setup net change in each target account if the Export Data File referenced in the export is local to the target account.

Example

In the example below, each file that contains a component that starts with the application prefix is displayed under the file name.  The code in () indicates if the component is (E) equal to, (D) not equal to, or (M) missing from the target file. 

>KT.MOVETABLES DEMO KU2-TEST


Step 1

KT.MOVETABLES - Select Accounts        Step 1 of 2

  1. KU2-DEMO      2. KU2-TEST     3. KU2-PILOT

Command(FI,Dn,.E):


Step 2

KT.MOVETABLES - Select Components      Step 2 of 2

KT_EXPORTS
    1. DEMO_BOM (M) 2. DEMO_GJ (D) 3. DEMO_HTML (D)
    4. DEMO_TAB (D) 5. DEMO_XML (D)
KT_INTEGRATION
    6. DEMO (M)
KT_INTEGRATION_XREF
    7. DEMO*LOG_ERR_TYPE (M)
KT_QUEUES
    8. DEMO_BOM (M) 9. DEMO_FED_KS (M)
KT_SERVICES
    10. DEMO_BOM_EXPORT (M) 11. DEMO_BOM_IMPORT (M) 12. DEMO_FED_KS (M)

Command(FI,Dn,.E):

Run-Time Commands

FI

Copies the components listed to the target account.

Dn

Delete the item number "n" from the display listing so that it is not copied to the target account.  You can specify multiple items to delete by separating the number to delete with a comma (e.g. 3,5,7). You can also delete a range of number by separating the numbers with a dash (e.g. 3-5,7).

.E

Exits the program.

Related Topics: 

Kourier TCL Commands Overview

Kourier Command Keywords