Pathway/iTS SCUP Reference Manual
Table Of Contents

SCUP Commands
HP NonStop Pathway/iTS SCUP Reference Manual—520269-002
2-34
OBEY Command
The following example displays detailed information about the latest version of the 
program called TEST-PROG:
?INFO $data.subvol.file1 (test-prog), DETAIL
$DATA.SUBVOL.FILE1
EXTENTS: DIR(00016,00032) COD(00032,00064) SYM(00032,000128)
ACCESS ON
PROGRAM (VERSION) ACCESS SIZE COMPILATION VER/DATE
 TEST-PROG (1) ON 6144 (C00) 27 JUL 1987 11:23:02
 TERMINAL TYPE = T16-6530
 CHARACTER SET = UK
 CODE SIZE = 233
 DATA SIZE = 94
 SCREEN COUNT = 1
 SCREEN SIZE TOTAL = 2110
 DESCRIPTOR COUNT = 6
 SYMBOL TABLE
 PROGRAM NAMES REFERENCED
 FUNC-PROG
The SYMBOL TABLE line indicates a symbol table exists for version 1 of TEST-PROG. 
OBEY Command
The OBEY command causes commands to be read from a specified file. 
file-name
is a file name.
If the file name is not fully qualified, the name is expanded with the defaults supplied by 
the OBEYSYS and OBEYVOL commands or by the SYSTEM and VOLUME 
commands.
Commands are read from the named file and processed until an end-of-file is 
encountered. When the end-of-file indicator is reached, the obey file is closed and 
command input reverts to the file from which the OBEY command was read. 
Additional OBEY commands can appear within an obey file. Obey files can be nested 
to a depth of four; if the limit is exceeded, an error occurs and an error message is 
displayed.
If default settings such as VOLUME or OBEYVOL are changed in an obey file, these 
settings are not automatically returned to their previous states.
If any part of the specification is invalid, if the file does not exist, or if the file cannot be 
opened, an error occurs. An error message is displayed and the current source for 
command input is not changed.
If an error is detected during processing of commands from an obey file, that obey file 
and any other obey files currently open (in the case of nested obey files) are closed.  If 
OBEY file-name










