Affordable Access

Publisher Website

Command Procedures-Chapter 9

Elsevier Inc.
DOI: 10.1016/b978-155558279-1/50010-5


Publisher Summary This chapter discusses command procedures, which are text files containing DCL commands that DCL executes sequentially. Much like a program, command procedures provide for branching, subroutines, comparisons, and variables in the form of symbols. Command procedures may be executed directly by an interactive user, or they may be submitted to a batch queue for execution at a specified time. Command procedures can range from the very simple to the very complex. One procedure might have two or three commands that define symbols, whereas another might be several hundred lines in length and perform complex software builds. Even the simplest command procedures can save time by grouping frequently used sequences of commands together. Command procedures allow the use of flow-control commands, such as GOTO, GOSUB /RETURN, and CALL, allowing user to create a command procedure that has many of the features of a compiled program. These commands allow the execution of different parts of the procedure in response to conditions specified. A command procedure can be created by using any text editor; it should be given names that indicate their functions.

There are no comments yet on this publication. Be the first to share your thoughts.


Seen <100 times