OpenVMS DCL Procedures


Course Code: HB517S
Length: 5 days

Schedule and Registration

Course Description

This course teaches techniques for creating DCL command procedures for automating user and operating system tasks on an OpenVMS system, including DCL syntax, design and implementation, batch processing, lexical functions, and running applications from a command structure. The course incorporates our Lab+Lecture format.

Who Should Attend

Advanced users of OpenVMS, application programmers, system programmers and system managers.

Instructor was well versed on the material and presented it in an efficient manner. Instructor is more than welcome to return and teach more classes.

Prerequisites

No prior programming experience is assumed; however, knowledge of some programming language (BASIC, C, FORTRAN, etc.) and programming language concepts is helpful.

Attendees must have taken OpenVMS Fundamentals or have equivalent professional experience before attending this course.

Benefits of Attending this Class

Upon completion of this course, students will be able to:

  • Create, modify and debug command procedures on OpenVMS systems
  • Understand how existing command procedures work
  • Have experience with passing information between command procedures with symbols
  • Understand how error handling works with DCL

The instructor had extensive experience in VMS/DCL. I've had Paul for other VMS classes and he is a great instructor.

Course Overview

  • DCL commands and command procedures
  • LOGIN.COM
  • @
  • Syntax of DCL command procedures
  • Design and implementation of command procedures
  • Passing parameters to command procedures
  • Batch processing
  • Use of local and global symbols
  • Locality of reference
  • Modularity of command procedures
  • Use of all OpenVMS lexical functions
  • Use of ANSI escape sequences
  • Error handling
  • Saving and restoring session context
  • Looping
  • Recursion
  • Processing list of files
  • Using multiple search streams
  • Running application programs (such as a text editor) from a command procedure

I particluarly like how the instructor went over labs, showing us first hand how to troubleshoot the many unique types of problems we may encounter with command procedures. Don't change the labs, examples & troubleshooting.

Course Contents

Introduction
DCL Procedure Fundamentals
Symbols
  • Uses of symbols
  • How to use symbols
Flow of Control
  • Controlling the flow of execution in DCL
DCL I/O
  • Open
  • Read
  • Write
  • Close
  • Deck / EOD
  • Create /Mailbox
  • Delete /Mailbox
Introduction to Lexical Functions
Time Conversion Lexical Functions
String Manipulation Lexical Functions
Process Environment Lexical Functions
Modular Programming in DCL
  • What is modular programming
  • Why use it
  • How to use modular programming in DCL
File and Device Information Lexical Functions
  • Processing Lists of Files
  • Getting Information About Files
  • Logical Names
General Information Lexical Functions
  • Process Information
  • System Information
  • Queue Information
Using ANSI Escape Sequences
  • Control Characters
  • Escape Sequences
Batch Processing
  • Submit Command
  • Batch Specific Commands
Error Handling
  • Error Status
  • Error Messages
  • Error Checking
Advanced Examples
  • Lock Keyboard
  • Directory Tree Listing
  • Remove User's Account
  • Reverse Directory Delete

Cookie Manager

We use cookies to enhance the features of our web site. We don't set optional cookies unless you enable them. Using this tool sets a cookie on your device to remember your preferences. For more detailed information about the cookies we use, see our Cookies page.


Necessary Cookies

Necessary cookies enable core functionality such as security, network management, and accessibility. You may disable these by changing your browser settings, but this may affect how the website functions.


Preference Cookies

Preference cookies enable this site to remember information that changes the way the website behaves or looks.


Statistics Cookies

Statistic cookies help us to understand how visitors interact with the site by collecting and reporting information anonymously.


Marketing Cookies

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.


Cookies