You are here:
DCL Programming
This course presents the DCL commands available to users, system managers, and programmers who want to use OpenVMS to write command procedures.
 
Who Should Attend
This course is intended for anyone who desires to write DCL command procedures to automate daily tasks.
 
Prerequisites
Before taking this course, students should have taken OpenVMS Skills for Users and/or Introduction to OpenVMS, or equivalent knowledge.
 
Benefits of Attending this Class

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

  • Write DCL command procedures that perform terminal and file I/O, login, conditional and unconditional branching, lexical functions, subroutines, error handling, and control_y handling.
  • Write DCL command procedures that utilize Interactive I/O.
  • Learn how to debug and troubleshoot DCL command procedures.
 
Course Contents

Introduction to Command Procedures

  • purpose form and structure
  • redirecting output/input
  • working with symbols
  • symbol substitution

Interactive I/O

  • process permanent files
  • string and numeric overlays

Decisions, Branches, Loops

  • if statements (conditional branching)
  • go to statements (unconditional branching)
  • subroutines

Lexical Functions:

  • what are lexical functions
  • syntax and returned values

File I/O;

  • opening files
  • reading files
  • writing files
  • closing files

Error and Control_Y Handling:

  • $Status and $Severity
  • the On and NOON commands
  • control_y handling
 
 

 
 
Disclaimer: HP-UX, Tru64 Unix, OpenVMS and are registered trademarks of the Hewlett Packard Corporation. Solaris and Java are registered trademarks of Sun Corporation. AIX is a registered trademark of IBM. Oracle is a registered trademark of Oracle Corporation.