HP System Dictionary/XL Utilities Reference Manual - Part 1 SDDBD (32256-90003)

Chapter 6 51
Running the SDDBC Program
Running the Program
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.