2011.05.31 13:56

openvms command

조회 수 17534 추천 수 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 84911
20 자료 instance 여러개인 경우 profile 보기 편하게 수정 1 유주환 2010.04.18 8656
19 자료 Data_Pump 세미나자료 file 고구마 2010.04.09 7672
18 자료 Flashback 10g 1 file 고구마 2010.04.09 6324
17 자료 ASM 1 file 고구마 2010.04.09 6778
16 자료 solaris sparc 64bit oracle file 김준호 2010.03.29 7005
15 Q&A import후 simple_size 0일때 고구마 2014.01.13 3215
14 Q&A [답변] 테이블 수정, 삭제 및 LOB에 대해 알려주세요 Tech1 2012.03.26 10683
13 Q&A ORACLE_BASE, ORACLE_HOME 각각의 위치에 대한 설명 부탁드립니다 Tech1 2012.03.20 11095
12 Q&A 파티션 테이블에 대해서 몇가지 궁금합니다. 1 고구마 2011.06.13 11888
11 Q&A Local Prefixed와 Local Non-Prefixed index 차이 ? 1 고구마 2011.06.13 9615
10 Q&A 파티션 테이블 종류가 뭐가 있나요? 1 고구마 2011.06.13 10360
9 Q&A RAC 쿼리 속도 관련 질문입니다. 3 고구마 2011.05.20 8994
8 Q&A ORA--04031 에러에 대해 질문합니다. 4 고구마 2011.05.17 12749
7 Q&A 오라클 프로세스에 대해서 궁금합니다. 4 고구마 2011.05.04 11215
6 Q&A 패키지 BODY 관련 질문 3 고구마 2011.05.03 10338
5 Q&A alert_log는 5 perfstat 2011.04.22 8111
4 Q&A RHEL5에 11gR2 RAC 구성시 ASM 관련 에러 file 송기성 2010.12.11 17733
3 Q&A 서버교체에 관해서.. 1 명랑여행 2010.08.20 9651
2 Q&A 오라클 유저 삭제가 안될시? 4 명랑여행 2010.05.27 11590
1 Q&A 업그레이드 이후 안됨 3 유주환 2010.04.23 10396
Board Pagination Prev 1 ... 3 4 5 6 7 8 Next
/ 8