Syntax highlighting for IBM DataStage DSX export files, DataStage BASIC source code, and DataStage Parallel Engine APT configuration files in Visual Studio Code.
Developed by RKM Research Ltd.
Features
DataStage DSX (.dsx)
- Highlighting of
BEGIN and END statements
- Recognition of DataStage job, record and subrecord structures
- Highlighting of object names, stage types and properties
- Support for quoted strings and multiline DSX values
DataStage BASIC (.B, .b, .unb)
- Highlighting of DataStage and UniVerse BASIC functions and statements
- Recognition of program flow keywords such as
IF, THEN, ELSE, FOR, NEXT and GOSUB
- Highlighting of
@ system variables, compiler directives and operators
- Recognition of strings, numbers, comments and named BASIC subroutines
DataStage APT Configuration (.apt)
- Highlighting of
node declarations and node names
- Recognition of configuration properties and resources such as
fastname, pools, resource, disk and scratchdisk
- Support for quoted values, braces,
// comments and /* ... */ comments
All three languages use TextMate grammars and support VS Code theme-aware syntax highlighting. Exact colours depend on the user's theme and editor settings.
Usage
Open a .dsx, .apt, .B, .b or .unb file in Visual Studio Code. The corresponding language mode and syntax highlighting are applied automatically.
If necessary, use Change Language Mode in the editor to select DataStage DSX, DataStage BASIC or DataStage APT Configuration.
For DataStage BASIC, .B is the primary source-file extension. The .unb extension is also supported. This extension does not automatically claim general-purpose .bas files.
Version 1.2.0
Adds DataStage BASIC syntax highlighting alongside the existing DSX and APT configuration support. The BASIC grammar recognises functions, flow-control keywords, system variables, compiler directives, operators, strings and comments.
Version 1.1.0 introduced DataStage APT Configuration highlighting; version 1.0.0 introduced DSX highlighting.
See CHANGELOG.md for release history.
Scope
This extension provides syntax highlighting only. It does not compile, execute, parse or validate DataStage code.
Copyright
Copyright © 2026 RKM Research Ltd. All rights reserved.
This extension is distributed as proprietary software.
IBM and DataStage are trademarks of their respective owners. This extension is independently developed and is not affiliated with or endorsed by IBM.