Join David J. Dachtera in this informative seminar on OpenVMS system management. Learn essential DCL concepts, including commands, command procedures, flow control, logical names, networking, and security. This seminar offers practical insights into managing startup and shutdown procedures, as well as utilizing powerful management tools. Ideal for system administrators looking to enhance their OpenVMS skills, this session will cover a wide range of topics necessary for effective system management and optimization.
01 / 266Mastering OpenVMS: Comprehensive Management Techniques and Tools
1 / 17
Télécharger la présentation
Mastering OpenVMS: Comprehensive Management Techniques and Tools
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
F I N
Plus de contenu associé
Transcription de la présentation
Seminar 1024 • OpenVMS System Management Techniques, Tools, and Tricks • David J. Dachtera • djesys@fsi.net • DJE Systems • http://www.djesys.com/
Agenda • Logical names • Logical name tables • Logical name table search order • Modifying the search order • Logical name types • Single Translation • Search list • “Rooted” (Concealed) logical names • Lexical Function Caveat • F$TRNLNM() differs from F$LOGICAL()
Basic DCL Concepts • Command Elements • $ verb parameter_1 parameter_2 • DCL commands consist of a verb and one or more parameters.
DCL Command Proc.’s • $ @procedure_name • Top level (or terminal) is DEPTH 0. • Each new command procedure invoked is a new procedure DEPTH. • Maximum depth is still 32.
DCL Command Proc.’s • Parameters • $ @procedure_name p1 p2 p3 … p8 • Notes: • Only eight(8) parameters are passed from the command line, P1 through P8 • Parameters with embedded spaces must be quoted strings. • Parameters are separated by a space.
DCL Command Proc.’s • Parameters, cont’d • $ @procedure_name p1 p2 p3 … p8 • Notes, Cont’d: • Reference parameters via the variable names P1 through P8. • No built-in “shift” function. If you need it, write it as a GOSUB.
Non-positional Qualifiers • Apply to the entire command, no matter where they appear. • $ command param1/qual param2 • Example: • $ COPY A.DAT A.NEW/LOG • $ DELETE/LOG C.TMP;
Positional Qualifiers • Apply only to the object they qualify. • $ command param1/qual=value1 - • param2/qual=value2 • Examples: • $ PRINT/COPIES=2 RPT1.LIS, RPT2.LIS • $ PRINT RPT1.LIS/COPIES=1,- • RPT2.LIS/COPIES=3
Common Qualifiers • Many commands support a set of common qualifiers: • /BACKUP /BEFORE /CREATED /EXCLUDE /EXPIRED /INCLUDE /MODIFIED /OUTPUT /PAGE /SINCE • See the on-line HELP for specifics.
DCL Statement Elements • $ vbl = value • DCL statements are typically assignments where a variable receives a value.
Symbol Scope • SET SYMBOL/SCOPE= • NOLOCAL • All “outer” level local symbols are “invisible” • LOCAL • Undoes NOLOCAL • NOGLOBAL • All “outer” level global symbols are “invisible” • GLOBAL • Undoes NOGLOBAL
Symbol Scope • SET SYMBOL/GENERAL/SCOPE=xxxx • Specifies that the values of the /SCOPE qualifier pertain to the translation of all symbols except the first token on a command line. • /GENERAL is incompatible with /ALL or /VERB.
Symbol Scope • SET SYMBOL/VERB/SCOPE=xxxx • Specifies that the values of the /SCOPE qualifier pertain to the translation of the first token on a command line as a symbol before processing only. It does not affect general symbol substitution. • /VERB is incompatible with /ALL or /GENERAL.
Symbol Scope • SET SYMBOL/ALL/SCOPE=xxxx • Specifies that the values of the /SCOPE qualifier pertain both to the translation of the first token on a command line and to general symbol substitution. • /ALL is incompatible with /GENERAL or /VERB.
Conditional Expressions • $ IF condition THEN statement • Variations: • $ IF condition THEN $ statement • $ IF condition THEN - • $ statement
Conditional Expressions • $ IF condition • $ THEN • $ IF condition • $ THEN • $ statement(s) • $ ENDIF • $ ENDIF
Conditional Expressions • $ IF condition • $ THEN • $ IF condition • $ THEN • $ statement(s) • $ ENDIF • $ statement(s) • $ ENDIF
Conditional Expressions • $ IF condition • $ THEN statement(s) • $ IF condition • $ THEN • $ statement(s) • $ ENDIF • $ ENDIF • This may not work in pre-V6 VMS!