DCL - Digital Command Language Matthias Schmitt www.tecmumas.de 2007-04-21.

Slides:



Advertisements
Similar presentations
AD User Import From SIMS.NET
Advertisements

COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Writing better DCL procedures A simple guide by Andy Park
VMS Operating System Keith Gittings CS 450 Fall 2002.
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
The Web Warrior Guide to Web Design Technologies
FILE TRANSFER PROTOCOL Short for File Transfer Protocol, the protocol for exchanging files over the Internet. FTP works in the same way as HTTP for transferring.
Automating Bespoke Attack Ruei-Jiun Chapter 13. Outline Uses of bespoke automation ◦ Enumerating identifiers ◦ Harvesting data ◦ Web application fuzzing.
1 Using Editors Editors let you create and edit ASCII files UNIX normally includes two editors: vi and Emacs Vi and Emacs are screen editors: they display.
Initialize\ Update CZM input parameters u s – u e < tolerance? Extract simulated displacement field, u s ABAQUS solve in batch mode Replicate experiment.
Guide to Linux Installation and Administration, 2e1 Chapter 12 Printing in Linux.
Guide To UNIX Using Linux Third Edition
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 25 – Perl and CGI (Common Gateway Interface) Outline 25.1 Introduction 25.2 Perl 25.3 String Processing.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
Linux Operations and Administration
Ch 111 Chapter 11 Advanced Batch Files. Ch 112 Overview This chapter focuses on batch file commands that allow you to:  write sophisticated batch files.
Or CMD/BATCH.  Title this comand makes the cmd prompt’s title whatever you would like it to be.
Comandos Windows. ASSOC - Displays or modifies file extension associations.
Programming Batch Files Aim: To introduce the concept of Batch processing and programming techniques. Lesson Outcomes  The need for Batch Processing.
Agenda What is Computer Programming? The Programming Process
DJE Systems©1999 All Rights ReservedIntroduction to DCL Programming DECUS Symposium - Fall 1999 San DiegoSlide 1 Intro to DCL Programming David J. Dachtera.
Introduction to Shell Script Programming
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
VAX-11/780 – A Virtual Address Extension to the DEC PDP-11 Family ( Author : W.D.Strecker ) By Padmaja chowti.
JavaScript, Fourth Edition
Mastering the AS/400, Third Edition, author Jerry Fottral 1 Week 2 The System The AS/400 is a multi-user, multi-tasking system -- a system on which many.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
Bigben Pittsburgh Supercomputing Center J. Ray Scott
DataMiner 7.0 Quick programming tool for SAM, VSAM & DB2 Detailed report writer Ad hoc reports File extracts On-line view & edit of CICS files & temp storage.
Agenda Using vi Editor Starting vi Session Command / Input Modes Entering Text Editing Text Saving vi Session Aborting Editing Session.
Chapter 8 Cookies And Security JavaScript, Third Edition.
Linux Introduction Part 2. Finding Files find “start directory” -name "filename“ Find the file called "filename" on the filesystem starting the search.
Introduction to Engineering MATLAB – 6 Script Files - 1 Agenda Script files.
Command Prompt Chapter 10 Introduction to Batch Files Richard Goldman February 7, 2000.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
Linux Operations and Administration
Oracle Data Integrator Procedures, Advanced Workflows.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Set path vs current schema. Set Current Schema ‘The CURRENT SCHEMA special register specifies a VARCHAR(128) value that identifies the schema name used.
Getting Started Additional information. Important DOS Commands Getting Started dirlists disk directories verdisplays OS version clsclear command prompt.
Network Queuing System (NQS). Controls batch queues Only on Cray SV1 Presently 8 queues available for general use and one queue for the Cray analyst.
Agenda Getting Started: Using Unix Unix Structure / Features Elements of the Unix Philosophy Unix Command Structure Command Line Editing Online Unix Command.
Module 5: Implementing Printing. Overview Introduction to Printing in the Windows Server 2003 Family Installing and Sharing Printers Managing Access to.
1 Microsoft Management Console Tool to create customized administration tools Customized tools known as MMC consoles, or simply consoles.
Chapter Three The UNIX Editors.
Internet & World Wide Web How to Program, 5/e © by Pearson Education, Inc. All Rights Reserved.
Customizing the Shell Environment. UNIX Shells Two characteristics of shells –Interactive: prompts ($) and waits for your response/requests –Noninteractive:
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Innovation Intelligence ® 1 Chapter 4: Using TCL to Control the HyperMesh Session.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
WS16-1 ADM740, Workshop 16, June 2007 Copyright  2007 MSC.Software Corporation WORKSHOP 16 Using Adams/Linear with Adams/Car.
Cisco CLI (command line interface). login with the user password enter privileged mode with the enable password disable or quit Advanced help features:
André Wendt, Operating Systems and Middleware (Prof. Polze) Hasso-Plattner-Institut 1 Origins of Operating Systems Seminar OpenVMS (Virtual Memory System)
Bash Scripting CIRC Summer School 2016 Baowei Liu CIRC Summer School 2016 Baowei Liu.
GRID COMPUTING.
Cloning Flow for
CIRC Winter Boot Camp 2017 Baowei Liu
SQL and SQL*Plus Interaction
Andy Wang Object Oriented Programming in C++ COP 3330
FTP Lecture supp.
Guide To UNIX Using Linux Third Edition
IBM AS 400 online Training in Hyderabad
Using SQL*Plus.
Using SQL*Plus.
Presentation transcript:

DCL - Digital Command Language Matthias Schmitt

(c) 2007 Matthias Schmitt / What is DCL? Command language for interactive tasks Programming language for scripts (a.k.a. command procedures) Part of the following DEC operating systems: –OpenVMS (VAX and Alpha) –RSX-11, RSTS, RT-11 (PDP-11)

(c) 2007 Matthias Schmitt / Origins of DCL DCL was developed in mid of 1960ies from the command languages for PDP-8, PDP-11, PDP-11 and PDP-15.

(c) 2007 Matthias Schmitt / Basics 1 DCL commands can be used in two different modes: –Interactive –Batch Command procedures (scripts) can be used in both modes

(c) 2007 Matthias Schmitt / Basics 2 The DCL command line consists of the following parts: [$] command [/qualifier[=value]...] [parameter [/qualifier...]] –$: Prompt –Qualifier: Modifies the action taken by the command. –Parameter: Specifies what the command acts upon. –Value: Modifies a qualifier.

(c) 2007 Matthias Schmitt / Basics 3 Example command line: $ edit /tpu file.txt –$: Prompt (Displayed by operating system) –edit: Command (starts the editor) –/tpu: Qualifier (use the Text Processing Utility) –file.txt: Parameter (name of file to edit)

(c) 2007 Matthias Schmitt / Basics 4 DCL is a user friendly command language. It uses English words as commands. For the convenience of the user, they can be abbreviated as soon as they are unambiguous: –$ directory /size /grand_total –$ dir /siz /g

(c) 2007 Matthias Schmitt / Commands List of basic interactive commands: –$ directory  lists contents of directory –$ create  creating of files, directories –$ type /page  showing the contents of a text file –$ edit  editing text files –$ logout  terminating the interactive session

(c) 2007 Matthias Schmitt / Command Procedures 1 Command procedures can be run in interactive or in batch mode –interactive mode: –batch mode: $ submit commandproc.com All lines start with the dollar (“$”) sign. Comments are marked with an “!”

(c) 2007 Matthias Schmitt / Command Procedures 2 Program flow –GOSUB.... RETURN –GOTO –IF... THEN... ELSE... ENDIF Subroutines –CALL –SUBROUTINE... ENDSUBROUTINE

(c) 2007 Matthias Schmitt / Lexical Functions 1 Lexical functions provide –information about the current process –information about devices and the environment –powerful tools for manipulating strings

(c) 2007 Matthias Schmitt / Lexical Functions 2 Process information –F$DIRECTORY() returns the current directory –F$MODE() returns the mode (interactive, batch, network or other) –F$PID() returns the process ID –F$PROCESS() returns the process name

(c) 2007 Matthias Schmitt / Lexical Functions 3 Device and Environment information –F$GETDVI(device,item) returns information about the device –F$GETQUI(function,[item],[object],[flags]) returns information about queues, batch and print jobs etc. –F$GETSYI(item,[node]) returns information about the system (local or remote)

(c) 2007 Matthias Schmitt / Lexical Functions 4 String Manipulation –F$EDIT(string,commands) edit string –F$ELEMENT(no,del,string) extracts an element from a string of elements –F$EXTRACT(start,len,string) extracts parts –F$LENGTH(string) returns the length –F$LOCATE(part,string) searches within a string

(c) 2007 Matthias Schmitt / Example $! INIT_ERASE_TAPE.COM $ set noverify $ if "''p1'".eqs. "" then exit $ show time $ show device 'P1 $ init /erase 'P1 leer $ show device 'P1 $ show time $ mount 'P1 leer $ dismount /unload 'P1

(c) 2007 Matthias Schmitt / Further Literature VMS User’s Manual Order No. AA-LA98B-TE Digital Equipment Corporation 1989 “Kurzübersicht über OpenVMS und DCL” (in German):