RKM.DataStage.DSAPI
0.1.0-preview.1
dotnet add package RKM.DataStage.DSAPI --version 0.1.0-preview.1
NuGet\Install-Package RKM.DataStage.DSAPI -Version 0.1.0-preview.1
<PackageReference Include="RKM.DataStage.DSAPI" Version="0.1.0-preview.1" />
<PackageVersion Include="RKM.DataStage.DSAPI" Version="0.1.0-preview.1" />
<PackageReference Include="RKM.DataStage.DSAPI" />
paket add RKM.DataStage.DSAPI --version 0.1.0-preview.1
#r "nuget: RKM.DataStage.DSAPI, 0.1.0-preview.1"
#:package RKM.DataStage.DSAPI@0.1.0-preview.1
#addin nuget:?package=RKM.DataStage.DSAPI&version=0.1.0-preview.1&prerelease
#tool nuget:?package=RKM.DataStage.DSAPI&version=0.1.0-preview.1&prerelease
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.dlland 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
- Open
RKM.DataStage.DSAPI.slnxin a version of Visual Studio that supports the target frameworks. - Install the .NET 10 SDK and the .NET Framework 4.8 targeting pack.
- Build the library or the solution in the desired configuration, retaining the x86 process target.
- To test against DataStage, run
dsjob-neton 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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.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 |