Technical Capabilities
Having trouble finding what you need?
Get in touch with us, so we can answer your specific questions directly.
Get In Touch

VX/CLD - OpenVMS CLD Compiler

Description:

VX/CLD is a Command Line Definition (CLD) compiler that allows VMS/OpenVMS command parsing to function identically on Linux. It ensures that applications using CLD to define commands, parameters, and qualifiers continue working without modification.

By integrating with VX/DCL, VX/CLD allows users to extend, modify, or restrict VMS-style commands, ensuring complete compatibility with existing OpenVMS command-line applications.

Extending and Customizing DCL Syntax

Why Use VX/CLD?

Migrate CLD-based applications to Linux while preserving command parsing logic.

Extend the VMS DCL command set, adding custom verbs, qualifiers, and parameters.

Restrict or modify existing commands, ensuring greater control over application behavior.

Enable automated command parsing, launching applications seamlessly from VX/DCL.

VX/CLD ensures that applications using VMS-style command definitions function identically in non-VMS environments.

How VX/CLD Works

VX/CLD compiles a CLD file into an executable command parser, allowing commands to be interpreted and executed under VX/DCL.

Example CLD Definition

Below is an example CLD definition that defines a custom “TYPE” command:

DEFINE VERB TYPE
  ROUTINE DO_TYPE
  IMAGE "TYPE"
  PARAMETER P1
    LABEL=INPUT
    PROMPT="File"
    VALUE(REQUIRED, LIST, TYPE=$INFILE)
  QUALIFIER BACKUP
  QUALIFIER BEFORE, VALUE(DEFAULT="TODAY", TYPE=$DATETIME)
  QUALIFIER CONFIRM
  QUALIFIER CREATED
  QUALIFIER EXCLUDE, VALUE(REQUIRED, LIST)
  QUALIFIER EXPIRED
  QUALIFIER HEADER
  QUALIFIER MODIFIED
  QUALIFIER ON, VALUE(DEFAULT="TODAY", TYPE=$DATETIME)
  QUALIFIER OUTPUT,
	DEFAULT, VALUE(DEFAULT="SYS$OUTPUT", TYPE=$FILE)
  QUALIFIER PAGE
  QUALIFIER SINCE, VALUE(DEFAULT="TODAY", TYPE=$DATETIME)
  QUALIFIER BY_OWNER, VALUE(TYPE=$UIC)
  QUALIFIER TAIL, VALUE(DEFAULT="22", TYPE=$NUMBER)
  DISALLOW (OUTPUT) AND (PAGE)

VX/CLD File Processing Overview

Input File VX/CLD Output Files Description
Filename.cld Filename.exe Compiled command syntax parser for execution.
Filename.def Generated command definitions in structured format.

Seamless Migration of VMS Command Syntax

VX/CLD ensures that legacy VMS CLD-based applications can:

Run on Linux without modification

Maintain existing command structures and qualifiers

Extend or modify command parsing logic as needed

VX/CLD is a critical component for VMS migrations, ensuring DCL-based command-line applications continue to function as expected.

Frequently Asked Questions

Curious about how Sector7 can facilitate your application migration? Explore our FAQs for expert insights.

What is VX/CLD and how does it help with OpenVMS migration?

VX/CLD is a Command Line Definition compiler that enables OpenVMS command parsing to function identically on Linux. It ensures applications using CLD to define commands, parameters, and qualifiers continue working without modification during migration.

By integrating with VX/DCL, organizations can extend, modify, or restrict VMS-style commands while maintaining complete compatibility with existing OpenVMS command-line applications. For migration planning assistance, contact our team.

What are the key benefits of using VX/CLD?

VX/CLD enables migration of CLD-based applications to Linux while preserving command parsing logic, extends the VMS DCL command set with custom verbs and qualifiers, and restricts or modifies existing commands for greater control.

How does VX/CLD process CLD files?

VX/CLD compiles a CLD file into an executable command parser that can be interpreted and executed under VX/DCL.

What output files does VX/CLD generate?

VX/CLD generates two output files: a compiled command syntax parser (.exe) for execution and structured command definitions (.def) in a readable format.

How does VX/CLD integrate with VX/DCL?

VX/CLD integrates seamlessly with VX/DCL to provide automated command parsing and execution. This integration allows applications using VMS-style command definitions to launch seamlessly from VX/DCL environments.

Organizations like Telstra have successfully leveraged this integration during their OpenVMS migrations to maintain command-line functionality on Linux systems.

Can VX/CLD customize existing DCL commands?

Yes, VX/CLD allows you to extend, modify, or restrict existing VMS DCL commands, providing greater control over application behavior and command syntax.

Does VX/CLD maintain compatibility with existing OpenVMS applications?

VX/CLD ensures that legacy VMS CLD-based applications run on Linux without modification while maintaining existing command structures and qualifiers. Applications continue to function identically in non-VMS environments.

What results can organizations expect from using VX/CLD?

VX/CLD delivers seamless migration of VMS command syntax to Linux environments, enabling organizations to preserve their command-line application investments while modernizing their infrastructure. The tool maintains complete compatibility with existing command structures, parameters, and qualifiers.

As a critical component for VMS migrations, VX/CLD ensures DCL-based command-line applications continue to function exactly as expected on the new platform. Companies like SEB have successfully used similar migration strategies to modernize their systems.

To learn how VX/CLD can support your OpenVMS migration project, contact our migration specialists.

Transform Your Legacy Software Today!

Get In Touch
Unlock the potential of your legacy software with our expert migration services.