DIGITAL Command Language

DIGITAL Command Language
OpenVMS Alpha 8.4-2L1, showing the DCL CLI in a terminal session
Paradigmimperative
Designed byDigital Equipment Corporation[1]
DeveloperVMS Software Inc. (VSI)[2]
OSRSTS/E, RSX-11, RT-11, OpenVMS, VAXELN, MICA
Influenced
Windows PowerShell

DIGITAL Command Language (DCL) is the standard command language adopted by many of the operating systems created by Digital Equipment Corporation. DCL had its roots in IAS, TOPS-20, and RT-11 and was implemented as a standard across most of Digital's operating systems, notably RSX-11 and RSTS/E, but took its most powerful form in VAX/VMS (later OpenVMS). DCL continues to be developed by VSI as part of OpenVMS.[3]

Written when the programming language Fortran was in heavy use, DCL is a scripting language supporting several data types, including strings, integers, bit arrays, arrays and Booleans, but not floating point numbers. Access to OpenVMS system services (kernel API) is through lexical functions, which perform the same as their compiled language counterparts and allow scripts to get information on system state. DCL includes IF-THEN-ELSE, access to all the Record Management Services (RMS) file types including stream, indexed, and sequential, but lacks a DO-WHILE or other looping construct, requiring users to make do with IF and GOTO-label statements instead.

DCL is available for other operating systems as well, including

DCL is the basis of the XLNT language, implemented on Windows by an interpreter-IDE-WSH engine combination with CGI capabilities distributed by Advanced System Concepts Inc. from 1997.

  1. ^ "VAX/VMS Software Language and Tools Handbook" (PDF). bitsavers.org. 1985. Retrieved 2020-12-31.
  2. ^ Cite error: The named reference users-manual was invoked but never defined (see the help page).
  3. ^ "Software Product Description and QuickSpecs - VSI OpenVMS Version 8.4-2L1 for Integrity servers" (PDF). VMS Software Inc. July 2019. Retrieved 2021-01-02.
  4. ^ "MichelValentin/PC-DCL". GitHub. 29 May 2022.
  5. ^ "Comparison of PC-DCL vs. Open DCL Lite". A comparison of Valentin's PC-DCL vs. Accelr8 Open DCL Lite