HP 3000 Manuals

Running the Program [ HP SYSTEM DICTIONARY XL UTILITIES-Part 2 SDDBC ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL UTILITIES-Part 2 SDDBC

Running the Program 

The SDDBC program may be run in session or batch mode.  This section
describes how to run SDDBC.

Running SDDBC in Session Mode 

To run the program in session mode, enter the following MPE command:

     RUN SDDBC.PUB.SYS 

SDDBC will respond with the banner:

HP System Dictionary SDDBC HP32256v.uu.ff - (C) Hewlett-Packard Co.  1985

A prompt character (>) is displayed, indicating that SDDBC is ready for a
command.  At this point, the user may enter HELP to get a list of valid
commands, COMMENT to make a comment, DEFINE to define the Dictionary
Environment, RESET to reset the Dictionary and Image Environment to
default, REDO to redo the previous command, SHOW to show the environment,
or EXIT to terminate the program.  If any other command is entered, SDDBC
will issue an error message.

SDDBC Prompts. 

PROMPT           DESCRIPTION 

>                Command prompt.  SDDBC is expecting a command.

>>               Command continuation prompt.  SDDBC is expecting a
                 clause to complete the command.

Running SDDBC in Batch Mode 

SDDBC may also be run in batch mode.  To do so, create a job file, such
as the one below, using an editor:

     !JOB SDJOB, PETE.ACCTS
     !FILE SDIN = COMMANDS
     !CONTINUE
     !RUN SDDBC.PUB.SYS;PARM=10
     !IF JCW = FATAL THEN
     ! TELL PETE.ACCTS  Fatal Dictionary Error
     !ELSE
     ! TELL PETE.ACCTS  Dictionary Job Completed
     !ENDIF
     !EOJ

SDDBC reads commands from an input file, SDIN, which has been redirected
to the file named COMMANDS.

The PARM parameter is used to specify the action of the job if an error
is encountered.  In the above example, the program is aborted if 10
errors are found.  Refer to the heading in this chapter, "Run Options" ,
for more details on the PARM parameter.

Finally, the Job Control Word (JCW) shows whether the system executed
successfully or terminated abnormally.


MPE/iX 5.0 Documentation