RKM.DataStage.DSAPI 0.1.0-preview.1

This is a prerelease version of RKM.DataStage.DSAPI.
dotnet add package RKM.DataStage.DSAPI --version 0.1.0-preview.1
                    
NuGet\Install-Package RKM.DataStage.DSAPI -Version 0.1.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RKM.DataStage.DSAPI" Version="0.1.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RKM.DataStage.DSAPI" Version="0.1.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="RKM.DataStage.DSAPI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RKM.DataStage.DSAPI --version 0.1.0-preview.1
                    
#r "nuget: RKM.DataStage.DSAPI, 0.1.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RKM.DataStage.DSAPI@0.1.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RKM.DataStage.DSAPI&version=0.1.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=RKM.DataStage.DSAPI&version=0.1.0-preview.1&prerelease
                    
Install as a Cake Tool

RKM.DataStage.DSAPI

A low-level C#/.NET wrapper for the native IBM DataStage DSAPI, developed by Richard K. Morris and maintained by RKM Research Ltd.

The library exposes native DataStage API operations to managed .NET applications. It requires an appropriately configured IBM DataStage environment; it is not a replacement for DataStage.

Features

  • Connect to a DataStage engine and enumerate projects and jobs
  • Open and close projects and jobs
  • Inspect job status, parameters, stages and links
  • Run, reset, stop and wait for jobs
  • Read and write job log information
  • Access environment variables, workload-management queues and repository information through supported DSAPI functions

The repository also includes dsjob-net, a console application demonstrating use of the library.

Requirements and compatibility

  • Platform: Windows x86 (32-bit) processes only, because the IBM native DSAPI library used by this wrapper is 32-bit
  • Target frameworks: .NET Framework 4.8 and .NET 10 for Windows (net10.0-windows)
  • IBM native dependencies: A compatible 32-bit vmdsapi.dll and its dependent IBM runtime components must be installed and discoverable at runtime
  • DataStage server: An accessible, correctly configured IBM DataStage installation and appropriate credentials

Neither the NuGet package nor this repository distributes IBM native runtime binaries or IBM DataStage licences. Obtain those components through an authorised IBM installation or distribution. A 64-bit .NET process cannot load the 32-bit native library.

Repository layout

Location Purpose
src/RKM.DataStage.DSAPI/ Managed DSAPI wrapper and native interop declarations
samples/console/dsjob-net/ Example command-line application
tests/datastage/ DataStage test job definitions and exports
RKM.DataStage.DSAPI.slnx Visual Studio solution
Directory.Build.props Centralised build output paths

Building in Visual Studio

  1. Open RKM.DataStage.DSAPI.slnx in a version of Visual Studio that supports the target frameworks.
  2. Install the .NET 10 SDK and the .NET Framework 4.8 targeting pack.
  3. Build the library or the solution in the desired configuration, retaining the x86 process target.
  4. To test against DataStage, run dsjob-net on a compatible Windows machine with the IBM native runtime installed.

Sample commands (add the relevant connection arguments before the primary command):

dsjob-net -lprojects
dsjob-net -ljobs <project>
dsjob-net -jobinfo <project> <job>
dsjob-net -lparams <project> <job>

Connection options include -domain, -server, -user and -password. Run the sample without arguments to see the available primary commands.

Credentials: Command-line passwords can be exposed in process listings, shell history and development profiles. Treat the sample as a diagnostic utility for controlled environments and avoid committing credentials.

NuGet package

Package ID: RKM.DataStage.DSAPI
Version: 0.1.0-preview.1

The NuGet package contains the managed library targeting net48 and net10.0-windows; it does not include dsjob-net or any IBM native DLLs.

To create a package locally, select Release, right-click the RKM.DataStage.DSAPI library project in Visual Studio and choose Pack. Packing does not publish the package to NuGet.org.

Licence and attribution

The RKM DataStage DSAPI library is distributed under the MIT License.

The dsjob-net example acknowledges the historical Ascential Software DataStage dsjob sample. IBM maintains a public DataStage API sample under Apache License 2.0. Third-party attribution and distribution considerations for the console example are documented in THIRD_PARTY_NOTICES.md.

IBM and DataStage are trademarks of their respective owners. This independent project is not endorsed by IBM.

Project and support

Maintained by RKM Research Ltd. Visit rkmresearch.com or use this repository's GitHub issues for bug reports and technical questions.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net10.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.1 67 11/8/2026