Datastage8.5 Import and Export DS job example

Source: Internet
Author: User

The following is the import and export of Datastage8.5 command line, direct login server execute the following command. Instead of importing and exporting DataStage clients, the advantage of using a command-line approach is that you can use shell scripts to import and export the command.

1. Import

1.1 Import new industry (not existing in the original work space)

$DSHOME/.. /.. /clients/istools/cli/istool import-dom dpapp01 - u user name-p password -ar /job path/job name to import. ISX -ds ' " DPAPP01/BRCB_EDP"'

Explain:

DPAPP01: host name (required to be configured in the host file for Windows)

For example, the configuration in the host file is 192.168.1.1 DPAPP01 so that when you import and export the command, it will be written on the back of-dom . DPAPP01

-u username-p password: User name and password

/job path/job name to import. ISX : The DS job in the ISX format can be exported via the following Export command

BRCB_EDP: indicates the project to be imported (optional project when landing to DataStage)

1.2 Importing and replacing an existing job

$DSHOME/.. /.. /clients/istools/cli/istool import-dom dpapp01 -u user name -p password -ar /job path/job name to import. ISX c5>-replace -ds ' "dpapp01/brcb_edp" '

Explain:

DPAPP01: host name (required to be configured in the host file for Windows)

For example, the configuration in the host file is 192.168.1.1 DPAPP01 so that when you import and export the command, it will be written on the dpapp01 after-dom.

- u user name-P password : user name and password

/job path/job name to import. ISX : Name of the import job (ISX format)

BRCB_EDP: indicates the project to be imported (optional project when landing to DataStage)

Note:-replace best written in front of-ds

2. Export

$DSHOME/.. /.. /clients/istools/cli/istool export-dom dpapp01 -u user name-p password -ar /path/job name to export to. ISX - DS '-incexec 'dpapp01/DS job on the server path/job name . PJB "'

Summarize:

1. When importing to the server, you must first upload to the server, and then import the execution

2. After compiling and executing the pass, you can export again.

Datastage8.5 Import and Export DS job example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.