640 likes | 685 Views
OpenVMS SEMINAR. Getting Access to an Open VMS System DCL Commands Recall and Command Line Editing Naming Files Directory Structures and Commands Creating Text Files with the EVE Editor Managing & Displaying Files Protecting Your Data Customizing Your Environment Command Procedure.
E N D
OpenVMS SEMINAR • Getting Access to an Open VMS System • DCL Commands • Recall and Command Line Editing • Naming Files • Directory Structures and Commands • Creating Text Files with the EVE Editor • Managing & Displaying Files • Protecting Your Data • Customizing Your Environment • Command Procedure CONTENTS
1.Getting Access to an OpenVMS System • Overview of the Environment • Log into an OpenVMS system • Log out of an OpenVMS system • Change your security password Section Objective
Overview of the Environment database database DECnet USER UNIX VMS P.C TCP/IP TCP/IP TCP/IP In a Network R2 FAB
Overview of the Environment database database database DECnet DECnet DECnet USER VMS VMS VMS TCP/IP TCP/IP TCP/IP In a VMScluster Easily share CPU resources,queues, and data 안정적인 system
Logging in & out of the system User account User name Password Characters 1∼12 6 ∼ 32 ( A ∼ Z, 0 ∼ 9, $,-,_) Unique O O Prompt username Password Lower or Uppercase X X Change password Command By system manager $ set password/generate Logging out Command $ logout / full
2. DCL Commands • Name and identify the DCL Commands • Special DCL features • Getting Help • Explain the structure of error messages Section Objective
Syntax error in command line Wrong parameter (ex. Nonexistant filename) Unavailable resource (ex. A disk was not available) Hardware/software problem Program error Explain the structure of error messages • Why error Message Occur
Explain the structure of error messages (Cont’d) • The Structure of an Error Message
F (Fatal or severe, level4) I (Informational ,level3) E (Error, level 2) S (Success , level 1) W (Warning , level 0) Explain the structure of error messages (cont’d) • Severity Levels HICIM1_HICIM_V3.0>deassign myfile.lis %SYSTEM-F-NOLOGNAM, no logical name match HICIM1_HICIM_V3.0> purge/log %PURGE-I-FILPURG, HIC HICIM1_HICIM_V3.0> delete myfile.lis %DELETE-E-DELVER, explicit version number or wild card required HICIM1_HICIM_V3.0>copy/log temp.t temp2.t %COPY-S-COPIED, Hi…. HICIM1_HICIM_V3.0> dir myfile.lis %DIRECT-W-NOFILES, 파일이 없음
3. Recall and Command Line Editing • Use the recall function • Use the special control keys for line editing and display functions Section Objective
Use the special control keys for line editing and display functions
4. Naming Files • File Specification • Rules for Naming Files • Wildcards in File Specifications • Default File Types Section Objective
Rules for Naming Files • Wildcards in File Spec
4. Directory Structures and Commands • Directory Structures • Naming , Creating and Default Directories • Example of File Information • Qualifiers for displaying selected file information • Qualifiers for selecting Files to Display Section Objective
Directory Structures Level 0 MFD UFD (=login) Level 1 SFD Level 2 Level 3 SFD (Up to 7)
Example of File Information HICIM1_HICIM_V3.0> dir/full jps.*;* 디렉토리 HICIM1$DKA100:[FAMSV30.USER] JPS.DIR;1 파일 ID: (554,39,0) 크기: 1/4소유자: [SYSTEM] 생성일: 25-SEP-2000 06:34:34.65 개정일: 25-SEP-2000 06:34:34.65 (0) 만료일: <지정된 것이 없음> 백업일: <백업이 기록되지 않았음> 유효한 것: <지정된것 없음> 기록 : <지정된것 없음> 파일 구성: 순차 보류된 상태: 온라인 캐쉬 속성: Writethrough 파일 속성: 할당: 4, 확장: 0, 글로발 버퍼 수: 0 기본 버전 한계 없음, 연속적인, 디렉토리 파일 레코드 형식: 가변길이, 최대 512 바이트s, 가장 긴 512 바이트s 레코드 속성: 캐리지 제어 없음, 걸치지 않음 RMS 속성: 없음 저널링이 불가능함: 없음 파일 보호: System:RWE, Owner:RWE, Group:RE, World:E 액세스 제어 리스트: 없음 클라이언트 속성: 없음 합계: 1 파일, 1/4 블럭
Creating Text Files with the EVE Editor • Introduction to OpenVMS Editors • EVE Editing Section Objectives
Introduction to OpenVMS Editors • Design for the VT200-style keyboard • Insert and overstrike editing modes • Multiple editing windows • Definable shortcut keys for frequently used editing functions • Features of EVE (Extensible Versatile Editor) • Features of EDT (Digital standard editor ) Many predefined edit keys Line-mode editing No overstrike editing mode No multiple windows No support for the VT200 keyboard
EVE Editing • Starting EVE • EVE Screen Layout • Entering EVE Commands • Moving the Cursor • Entering and Modifying Text • Finding and Replacing Text • Cutting and Pasting with EVE • Including Other Text Files • EVE Online Help • Saving Your Edited Text • Recovering Files • Using EVE Windows
EVE Editing • Starting EVE (1)
EVE Editing • EVE Screen Layout (2) I'm trying to connect a notebook(NEC VERSA M/100) and a desktop ,both running Windows9x,via parallel printer ports with a cable. [End of file] Text window End of the file marker Filename By default Where or not this buffer can be modified Buffer status line Command line Buffer: REPORT.TXT | 기록 | 삽입 | 정방향 Direction of cursor Text entry mode Command: Message buffer 5 lines written to file HICIM1$DKA100:[FAMSV30.USER.JPS]REPORT.TXT;3
FIND INSERT REMOVE NEXT SCREEN SELECT PREV SCREEN EVE Editing • Entering EVE Commands (3) F11 : Forward/Reverse F12 : Move by line / : HELP: F10 : EXIT PF1 Gold PF2 Help Key Def PF3 Find Next Find PF4 Del Line Rest Line KP7 Move by page DO KP8 Section Fill KP9 Append EDT Rep MINUS Del word Rest Word Pause : DO KP4 Forward Bottom KP5 Reverse Top KP6 Remove Ins Here COMMA Del char Rest Char KP1 Word ChngCase KP2 EOL DEL EOL KP3 Character Spec Ins ENTER Return Substitute FIND : Search for string SELECT,INSERT,REMOVE : Cut & paste KP0 EDT Line Open Line PERIOD Select Reset
EVE Editing • Moving the Cursor (4) Function Key Command Move up one line UP ARROW Move down one line DOWN ARROW Move one character to the left LEFT ARROW Move one character to the right RIGHT ARROW Move to the end of the current line CTRL + E End of the line Move to the beginning of the current line CTRL + H Start of the line Move to the previous screen PREV SCREEN Move to the next screen NEXT SCREEN Move to the top of the file Top Move to the bottom of the file Bottom Set a mark and go to the mark Mark or go to mark_name Move to the specific Line n
EVE Editing • Entering and Modifying Text (5) • Typing Text • Manipulating Text Strings • Cutting and Pasting Text (Using SELECT&INSET&REMOVE key) • Including Other Text Files • Finding and Replacing Text (6) • Command : fins string • Press FIND key
EVE Editing • Cutting and Pasting with EVE (7) Command format Replace old_string new string Type Yes , no , all , last , quit • Including Other Text Files (8) • Position the cursor at insertion point • Press “DO” in command mode • Include file spec • The file is inserted at the insertion point • EVE Online Help (9) • Press “ / (HELP)” key • Press “pause(DO)” and then “HELP”
EVE Editing • Recovering Files (11) • $ edit/recover original_filespec ! [ .TPU$JOURNAL in login directory] • The journal is deleted when EXIT or QUIT • Saving Your Edited Text (10) Ending the Edit Session Quit Discard the text and exit exit CTRL+Z F10 Save your text in a new version file Saving without Ending the Edit Session Write Save the text buffer into a new version of the file Save file Write new_filespec Save the text buffer into a new different file Save file as new_filespec
EVE Editing • Using EVE Windows
Managing & Displaying Files • Summary of commands for managing files • Summary of commands for displaying files Section Objectives
Summary of commands for managing files Command Qualifier File Specification Description Create /log, /confirm File spec [ , … ] Create a new file Copy /log, /confirm,/exclude=file spec Input filespec output filespec Copy of a file Rename /log, /confirm To change the name of a file,or move it to another directory on the same disk Delete /log, /confirm , /erase Filename.filetype;version To delete unneeded version files Purge /log, /confirm, /erase , /keep=n File spec [ , … ] To delete files except the highest version of file Search /exact “string”, /windows=(n,m) File spec [ , … ] string [ , … ] To find a file containing a specified string difference /parallel 1st filespec [2nd filespec] To find difference Between files Set file /version_limit = n File spec [ , … ] To keep the number of versions
Summary of commands for displaying files Command Qualifier File Specification Description type File spec To display the contents of a file and filetype .lis /page To display page by page /tail=n To display the last n lines CTRL+Z or +C To stop TYPE output print /copies=n Filename.type [ , … ] To print a file
Protecting Your Data • User Identification Codes • Protection Codes • Displaying & Manipulating Files Security Information • Setting & Deleting a directory file • ACL & Saving Copies of Files Section Objectives
Purpose of UICs Read the file Write the file Execute the file Delete the file UIC Components A group number A member number System(s) Owner(O) Group(G) World(W) User Identification Codes • User Categories • Displaying Your UIC • UIC Formats • Numeric [1 ∼37776,0 ∼177776] • Alphanumeric (ex. [MANAGER])
Types of File Access Elements of Protection Code Protection code Access Read (R) Copy,type,print,directory Write (W) Edit Execute (E) Run , @ Delete (D) Delete,purge,rename Protection Codes Protection code Protection code delimiter User category delimiter (S:RWED,O:RWED,G:RE,W) User category symbol (system) User category Access codes User category separater
Command /Qualifier or Keyword Security Information directory /protection Display the UIC protection code /owner Display the owner /security Display all of the above show security Display all of the above protection Display the default protection for process Set security/protection=(code) filespec Control a file’s UIC protection code (ex) Set security/protection = (s:rwe,o:rwe,g,w) sample.file Set protection =(s:rwe,g)/default To change default protection Displaying & Manipulating Files Security Information
Setting & Deleting a directory file • Setting directory files protection Protection code Access Read (R) List the files in this directory ,including the use of wildcards in the filename Write (W) May write into this directory (Including create,delete,rename files) Execute (E) List the file ,without using wildcards Delete (D) Delete the directory file itself • Deleting a directory file • Remove all files from the directory ,either by deleting them or renaming them to another directory (The directory must be empty) • Set your default to a higher level directory • Change the protection on the directory file (To have delete access) • Delete the directory file
ACL(Access Control List) & Saving Copies of Files • Applying Specific Protection to Users $ set security / acl = (identifier=[ron],access=read+execute) menu.com $ edit / acl menu.com identifier=[jps],access=read+execute identifier=[kim],access=read+execute identifier=[200.*],access=read+execute • Saving Copies of file Backup
Customizing Your Environment • Processes • Logical Names • Symbols • Key Definitions Section Objectives