2011.05.31 13:56

openvms command

조회 수 17535 추천 수 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
160 Tip 화일의 손상 여부를 확인하는 dbv 사용 방법 김준호 2010.04.06 18516
159 Tip 핫백업 디비올리기 유주환 2010.04.09 34982
158 Q&A 패키지 BODY 관련 질문 3 고구마 2011.05.03 10344
157 Q&A 파티션 테이블에 대해서 몇가지 궁금합니다. 1 고구마 2011.06.13 11895
156 Q&A 파티션 테이블 종류가 뭐가 있나요? 1 고구마 2011.06.13 10360
155 Tip 특정 DB USER의 SESSION수를 제한하는 방법 흑수건 2011.10.01 12393
154 Tip 통계복원하기 고구마 2013.05.13 8054
153 Tip 통계 백업 및 생성 유주환 2010.04.18 16193
152 TM 테이블과 인덱스의 관계 및 인덱스 종류 및 생성 방법. Tech1 2012.03.28 25538
151 TM 테이블 생성방법 및 각종옵션 Tech1 2012.03.20 20831
150 Tip 쿼리 튜닝 사례 고구마 2011.03.21 14449
149 Tip 유저별 Segment 개수 및 사이즈 조회 쿼리, n2bfree 2013.03.12 11059
148 Tip 윈도우에서 일정기간 지난 파일 및 폴더 자동삭제 하기 1 송기성 2011.03.31 21249
147 자료 윈도우 tail 사용법 1 file 유주환 2010.04.19 7374
146 Tip 오라클상세 버젼 확인하기 lsinventory 고구마 2011.09.14 13847
145 Tip 오라클11g에서 SE1,SE,EE제품의 옵션비교입니다. file perfstat 2012.03.07 27015
144 Q&A 오라클 프로세스에 대해서 궁금합니다. 4 고구마 2011.05.04 11218
143 Tip 오라클 튜닝 세미나자료 (메모리) file 고구마 2010.04.28 14662
142 Tip 오라클 튜닝 세미나 자료(IO) 1 file 고구마 2010.04.28 13930
141 Tip 오라클 제품 비교 file 송기성 2011.05.22 13417
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8