dsimport command

The dsimport command is a Microsoft Windows application that you use to import InfoSphere® DataStage® components from a DSX file into the repository.

Syntax

The dsimport command includes the following syntax:

dsimport.exe /AF=authfile | 
/URL=domainURL /H=hostname [/U=username [/P=password]] | 
/D=domain /H=hostname [/U=username [/P=password]]
/NUA project | /ALL | /ASK
dsx_pathname1 dsx_pathname2 ...
authfile
Name of the encrypted credentials file that contains the connection details.
domainURL
The full format URL for the domain to log on to. The URL includes the protocol, host, and port information for the domain in this format: https://domain:port. The port defaults to 9443 if it is not specified.
domain | domain:port_number
The host name of the services tier. This parameter can also have a port number.
hostname
The host name for the InfoSphere Information Server engine where you are importing a file to.
username
The user name to use for connecting to the services tier.
password
The password for the username that you are using to connect to the services tier.
project | /ALL | /ASK
Specify a project to import the components to, or specify /ALL to import to all projects, or specify /ASK to be prompted for the project to which to import.
dsx_pathname
The .dsx file to import from. You can specify multiple files if required.

If you do not use the /AF option and you want to run the command without any user interaction, you must supply all of the connection details on the command line. If all of the connection details are not supplied on the command line, the Logon dialog is displayed. The Logon dialog is pre-filled with the values from the command line. Any missing values are pre-filled with the values from your most recent successful connection, except for the Password field which you must supply. The password is not displayed as you type in the Logon dialog.

The following command imports the components in the jobs.dsx file into the dstage1 project on the R101 server:


dsimport.exe /D=domain:9443 /U=wombat /P=w1ll1am dstage1 /H=R101 
C:\temp\jobs.dsx

When an environment variable parameter that you are exporting is set to the value $PROJDEF, the definition is added to the project, but the value is empty. You must specify a project value for that environment variable after the import by using the Administrator client or by using the dsadmin command.