2011.05.31 13:56

openvms command

조회 수 17536 추천 수 0 댓글 0

VMS: Quick Guide to OpenVMS Commands [ID 73239.1]

  수정 날짜 27-SEP-2002     유형 BULLETIN     상태 PUBLISHED  


The purpose of this article is to present an introduction to basic 
OpenVMS commands.

Scope & Application:

This article is intended for use by people with little or no knowledge of 
OpenVMS and who need to carry out basic tasks.


  o OpenVMS is not case sensitive.

  o All directories have the extension .DIR.

  o Wildcard is an * (examples below).

  o <> are used for examples of some of the optional switches.

  o OpenVMS files have version numbers, so old versions typically remain 
    (and take up disk space) until they are purged (see the PURGE command 

  o OpenVMS has an easy online HELP system available at the command
    prompt.  Just type "HELP" at the prompt.

COMMAND                               EXPLANATION
-------                               -----------

                                      To set a LOGICAL to a value. 
                                      Example: ORACLE_HOME

BACKUP                                Used for file copies and backups.

CREATE/DIR [.newdir]                  Creates a new subdirectory 'newdir'.

DELETE filename.extension;*           Delete all occurences of the file in
                                      the current directory.   
DIRECTORY </page>                     List files in the current directory. 
                                      /page for a page at a time. Shorten
                                      to "DIR".

DIR myfilename.extension              Searches the current directory for 
                                      the file 'myfilename.extension'.

DIR *.dir                             Lists all subdirectories.

DIR [...]myfilename.extension         Searches the current and all 
                                      subdirectories for the file

DIR/OUTPUT=myfile.out                 Outputs the information to a file.  

DIR/DATE/OWN/SIZE                     This is like ls -l on Unix.

HELP                                  Equivalent to Unix 'man' but
                                      more useful.
                                      This is the MOST USEFUL command
                                      *ANYWHERE* on OpenVMS.

LOGOUT                                To log off the system.

MOUNT                                 Make a tape device available. 

NOW :== "SHOW TIME"                   To define NOW as the symbol for the 
                                      SHOW TIME command.

PRINT/QUEUE=<printer> <file>          Prints a file to a printer.

PURGE [...]filename.extension         Deletes all old versions of the file 
                                      in the current directory and all 
                                      subdirectories.  The latest file   
                                      version remains.

RECALL </all>                         Recall the commands you have used.
RECALL 12                             Uses a command from the RECALL list.

SEARCH filename*s.extension*s hello   Search and display file(s) that contain 
                                      the string 'hello'.

SEARCH [...]*.LIS hello               List all files with the .LIS file
                                      extension in both the current directory
                                      and all its subdirectories that contain
                                      'hello'.  The line(s) in the files that
                                      contain 'hello' are printed to the screen.

SET DEF disk$name:[topdir.nextdir1.another]   
                                      Changes the directory.  You typically 
                                      specify just the relative directory

SET DEF [.nextdir1]                   Puts you in subdirectory 'nextdir1'.

SET DEF [-]                           Moves you up one directory.

SET DEF [-.subdir]                    Moves you up one directory and then puts
                                      you in subdirectory subdir.

SET DEF SYS$LOGIN                     This is like cd on Unix.

SET HOST 0/LOG=screen.out             This starts up a second connection
                                      to the same machine and captures 
                                      all the screen input/output to 
                                      the file screen.out.  This is a 
                                      good way to check what commands were 
                                      typed and what errors and/or
                                      warnings occurred.

SHOW DEFAULT                          Show the current directory.  
                                      Shorten to "SHOW DEF".

SHOW DEVICE <device name>             Display devices and their settings.

SHOW LOGICAL <*log_name*>             To show 'environment' variable settings 
                                      that contain the string log_name.
                                      Example: SHOW LOGICAL *ORACLE*

SHOW SYMBOL *F45GEN*                  Show a symbol definition. Check 
                                      the actual executable being used.

SHOW SYSTEM                           Show the OpenVMS version and 
                                      processes summary.

TYPE filename.extension </page>       Outputs the contents of a file to 
                                      the screen. 

WRITE SYS$OUTPUT F$GETSYI("HW_MODEL") If this returns a number > 1024, then
                                      you are on an Alpha OpenVMS machine
                                      rather than a VAX OpenVMS machine.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 Q&A Oracle관련 게시물만 Sean 2014.04.09 84918
58 TM 11G new feature SQL performance analyzer 1 file Sean 2013.01.09 14333
57 TM MEMORY TARGET 1 도로시 2013.01.03 19622
56 TM check whether crs auto start is enable or disable 담벼락 2012.10.12 26303
55 TM ARDCI file 이현정 2012.10.09 12536
54 TM (10gR2)Full UNDO tablespace Tech1 2012.04.04 23936
53 TM audit 관련 2 이현정 2012.03.29 26605
52 TM 테이블과 인덱스의 관계 및 인덱스 종류 및 생성 방법. Tech1 2012.03.28 25543
51 TM windows에서 Opatch 진행시 oci.dll 에러 조치 1 이현정 2012.03.26 37505
50 TM 테이블 생성방법 및 각종옵션 Tech1 2012.03.20 20837
49 TM upgrade 시 sorting 문제 담벼락 2012.03.16 16649
48 TM 11 newfeature(Upgrade) to 1 file 윤현 2012.01.12 18390
47 TM TDE (column, tablesapce) 1 file 윤현 2011.12.27 13243
46 TM 11g newfeature (dbca) 2 file 윤현 2011.12.27 13923
45 TM 11g 데이타베이스 에러수집방법 2 perfstat 2011.11.02 20210
44 TM long type column 1 담벼락 2011.10.11 17687
43 TM 백업이 필요없는 대용량 table skip하고 export 받기 고구마 2011.06.14 18801
42 TM TDE tablespace 1 윤현 2011.06.09 17302
» TM openvms command perfstat 2011.05.31 17536
40 TM Oracle Silent Install Guide 3 file 송기성 2011.03.13 20257
39 TM 엔지니어필수품 file perfstat 2011.03.03 14118
Board Pagination Prev 1 2 3 Next
/ 3