Skip to content

friendkak/IBM-DataStage-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IBM-DataStage-API

IBM-DataStage-API on Python. Please read InfoSphere DataStage Development Kit to find details.

Requirements

For the correct work ctypes with DataStage API library (32-bit or 64-bit) you need Python of the same version (32-bit or 64-bit)

PATH on windows should include path where file vmdsapi.dll is located.
In most cases, in the ../IBM/InformationServer/Clients/Classic/

LD_LIBRARY_PATH on *nix should include path where file libvmdsapi.so and its dependences are located.
In most cases, in the ../IBM/InformationServer/Server/DSEngine/lib/

Also activation of dsenv can help you
cd ../IBM/InformationServer/Server/DSEngine/
. ./dsenv

Getting Started

Create your own config.py with path to DataStage API library (vmdsapi.dll on client or libvmdsapi.so on server) and configure connection's parameters.

There are two types of setting login parameters

  1. Using operating system user credentials of Engine tier, by default, dsadm
+: fast work
-: doesn't support admin functions (DSAddProject, DSSetProjectProperty...)

DS_DOMAIN_NAME = ''
DS_USER_NAME   = 'dsadm'
DS_PASSWORD    = 'dsadm_password'
DS_SERVER      = 'HOST_NAME:ENGINE_TIER_PORT'
  1. Using user credentials of Services tier
+: support admin functions
-: slow work

DS_DOMAIN_NAME = 'HOST_NAME:SERVICES_TIER_PORT'
DS_USER_NAME   = 'user_login'
DS_PASSWORD    = 'user_password'
DS_SERVER      = 'HOST_NAME:ENGINE_TIER_PORT'

See Examples/config_example.py

Running the program

Import classes for work in your code

from ibm_datastage_api import *

See Examples/

About

Classes for working with the IBM DataStage API on Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%