CONTENTS Title Page Copyright Page Preface 1 Getting Started 1.1 Interaction with the System 1.1.1 Logging In 1.1.2 Using the DIGITAL Command Language 1.1.2.1 Parameters and Qualifiers 1.1.2.2 Responding to Command Prompts 1.1.2.3 Editing Command Lines 1.1.3 Recognizing System Responses 1.1.3.1 What Are Defaults? 1.1.3.2 Looking at Informational Messages 1.1.3.3 Looking at Error Messages 1.1.3.4 Is the System Still Functioning? 1.1.4 Using the DCL Command HELP 1.1.4.1 Exploring Several HELP Topics 1.1.5 Logging Out 1.2 Using Utilities 1.2.1 What Is MAIL? 1.2.1.1 Sending Mail 1.2.1.2 Reading Mail 1.2.1.3 Forwarding Mail 1.2.1.4 Replying to Mail 1.2.1.5 Listing Mail Messages 1.2.1.6 Organizing Mail into Folders 1.2.1.7 Deleting Mail 1.2.1.8 Extracting Mail 1.2.1.9 Printing Mail 1.2.1.10 Getting Help in Mail 1.2.1.11 Exiting from MAIL 1.2.2 What Is PHONE? 1.2.2.1 How to Phone Another User 1.2.2.2 Answering a Phone Call 1.2.2.3 Rejecting a Phone Call 1.2.2.4 Displaying a List of Users You Can Call 1.2.2.5 Getting Help in PHONE 1.2.2.6 Exiting from PHONE 2 Working with Files 2.1 What Is a File? 2.1.1 Looking at File Names, Types, and Versions 2.1.2 Using Wildcard Characters 2.2 Creating Files 2.3 Deleting Files 2.4 Purging Files 2.5 Displaying Files at Your Terminal 2.6 Listing Files in a Directory 2.7 Printing Files 2.8 Renaming Files 2.9 Protecting Files 3 Understanding Directory Structure 3.1 Dissecting a Complete File Specification 3.1.1 Looking at Nodes 3.1.2 Looking at Devices 3.1.3 Looking at Directories 3.1.4 Looking at Subdirectories 3.1.4.1 Creating Subdirectories 3.1.4.2 Changing Your Default Directory 3.2 Using Logical Names 3.2.1 How to Use Logical Names 3.2.2 System Default Logical Names 4 Program Development 4.1 Creating the Program 4.2 Compiling or Assembling the Program 4.3 Linking the Object Module 4.4 Executing the Program 4.5 Looking at Sample Programs 4.5.1 An Introductory BASIC Program 4.5.2 A FORTRAN Program 4.5.2.1 Creating the Source Program 4.5.2.2 Compiling the Source Program 4.5.2.3 Linking the Object Module 4.5.2.4 Running the Program 4.5.2.5 Debugging the Program 4.5.3 A MACRO Program 4.5.3.1 Creating the Source Program 4.5.3.2 Assembling the MACRO Source Program 4.5.3.3 Linking the Object Module 4.5.3.4 Running the Program 4.5.3.5 Debugging the Program 4.6 Using Logical Names for Programming Needs 5 Using Symbols and Command Procedures 5.1 Abbreviating DCL Commands with Symbols 5.2 Creating and Executing a Command Procedure 5.2.1 Passing Information 5.2.1.1 Requesting Information with the INQUIRE Command 5.2.1.2 Displaying Information with the WRITE Command 5.2.2 Using Logic 5.2.3 Extracting Information with Lexical Functions 5.2.4 What Is a LOGIN.COM File? 5.2.5 Submitting Batch Jobs to Avoid Delays 5.2.6 Displaying Command Lines During Execution 6 More About DCL Commands 6.1 Printing Files 6.1.1 Sending a File to a Queue 6.1.2 Looking at Jobs in the Print Queue 6.1.3 Removing a Job from the Print Queue 6.1.4 Stopping a Job That is Currently Printing 6.2 What Is a Batch Job? 6.2.1 Starting Batch Jobs 6.2.2 Looking at Jobs in the Batch Queue 6.2.3 Removing a Job from the Batch Queue 6.2.4 Stopping a Job That is Currently Executing 6.3 Sorting, Searching, Appending, Comparing, and Copying Files 6.3.1 Reorganizing Lists 6.3.2 Searching for a String 6.3.3 Appending Files 6.3.4 Comparing Files 6.3.5 Copying Files 6.4 Controlling the VMS Environment 6.4.1 Changing the System Prompt 6.4.2 Saving Time by Defining Keys 6.4.3 Looking at Processes 6.4.4 Displaying Previously Entered Commands 6.4.5 Showing Terminal Characteristics 6.4.6 Changing Terminal Characteristics 6.4.6.1 Using the /ECHO and the /NOECHO Qualifiers 6.4.6.2 Using the /INSERT and the /OVERSTRIKE Qualifiers 6.4.6.3 Using the /NUMERIC_KEYPAD and /APPLICATION_KEYPAD Qualifiers 6.4.6.4 Using the /WIDTH Qualifier 6.4.6.5 Using the /WRAP and /NOWRAP Qualifiers 6.5 Working with Physical Devices Glossary EXAMPLES 5-1 Looking at a LOGIN.COM File 6-1 Using the SHOW PROCESS Command FIGURES 1-1 The VT240 Terminal 1-2 Looking at a PHONE Screen Display 3-1 Relationship Between Parts of Full File Specification 3-2 Full File Specification 3-3 Relationship Between Parts of DRACUL::VAMP:[MCNALLY]STORIES.TXT 3-4 Relationship Between Parts of LOTUS::DEVO:[LAWRENCE]ZAP.LIS 3-5 Files in [MARSTON] Directory 3-6 Files in [BENTLY.PRIVATE] Subdirectory 3-7 Assigning a Logical Name 4-1 Program Development 4-2 Four Steps in Program Development 4-3 Commands for FORTRAN Program Development 4-4 Commands for MACRO Program Development 4-5 Using Logical Names 5-1 The First Line of a LOGIN.COM file TABLES 1-1 Command Line Editing Keys 4-1 Default File Types for Source Program Files 4-2 DCL Commands to Invoke Language Processors 5-1 Conditional Operators 5-2 Common Lexical Functions