TM
2011.05.31 13:56

openvms command

조회 수 17362 추천 수 0 댓글 0

VMS: Quick Guide to OpenVMS Commands [ID 73239.1]

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


Purpose:
========

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.


Description:
============

  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 
    below).

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


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

ASSIGN DISK$NAME:[TOOLS.DEV161] <ORACLE_HOME>
                                      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
                                      'myfilename.extension'.

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
                                      location.

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 84549
160 Q&A 오라클 복구 질문 희달이 2015.05.08 907
159 TM 11G new feature SQL performance analyzer file Sean 2013.01.09 14208
158 TM MEMORY TARGET 도로시 2013.01.03 19348
157 TM check whether crs auto start is enable or disable 담벼락 2012.10.12 25969
156 TM ARDCI file 이현정 2012.10.09 12473
155 TM (10gR2)Full UNDO tablespace Tech1 2012.04.04 23795
154 TM audit 관련 2 이현정 2012.03.29 24293
153 TM 테이블과 인덱스의 관계 및 인덱스 종류 및 생성 방법. Tech1 2012.03.28 24595
152 TM windows에서 Opatch 진행시 oci.dll 에러 조치 1 이현정 2012.03.26 36937
151 TM 테이블 생성방법 및 각종옵션 Tech1 2012.03.20 19824
150 TM upgrade 시 sorting 문제 담벼락 2012.03.16 16345
149 TM 11 newfeature(Upgrade) 10.2.0.5 to 11.2.0.3 1 file 윤현 2012.01.12 18269
148 TM TDE (column, tablesapce) 1 file 윤현 2011.12.27 13184
147 TM 11g newfeature (dbca) 2 file 윤현 2011.12.27 13866
146 TM 11g 데이타베이스 에러수집방법 2 perfstat 2011.11.02 19448
145 TM long type column 1 담벼락 2011.10.11 17429
144 TM 백업이 필요없는 대용량 table skip하고 export 받기 고구마 2011.06.14 18276
143 TM TDE tablespace 1 윤현 2011.06.09 17223
» TM openvms command perfstat 2011.05.31 17362
141 TM Oracle Silent Install Guide 3 file 송기성 2011.03.13 20086
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8