HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

3- 26
CREATE ENTITY - Create a new entity
SYNTAX: CREATE<C> ENTITY<E> entity-name
[;INTERNAL<INT> = internal-name]
;ENTITY-TYPE<ET> = entity-type-name
[;ATTRIBUTE-LIST<AL> = ([attribute-name1=[attribute-value1]]
[,attribute-name2=[attribute-value2]]
.
.
.
[,attribute-nameN=[attribute-valueN]])]
[;COMMON<C> = common-entity-name]
Executing MPE Command
You can issue some MPE commands without exiting the SDMAIN program. To use MPE commands from
within SDMAIN, enter a colon (:) followed by the command, in response to the > prompt. From this point
on, all syntax follows the MPE rules and conventions. For example, the ampersand (&) is the continuation
character, and there is no terminating period. After the MPE command has been processed, control is
returned and the SDMAIN prompt is again displayed.
Note that you cannot execute another program from within SDMAIN by using the MPE RUN command.
For a list of MPE commands that you can issue from within SDMAIN, see the COMMAND intrinsic shown
in the MPE XL Intrinsics Reference Manual. If an MPE command cannot be executed from within
SDMAIN, you receive an error message.
Dictionary Environment Commands
The first step after issuing the RUN SDMAIN.PUB.SYS command is to open the dictionary and define the
environment. The environment of System Dictionary consists of four parts:
Dictionary environment
Output environment
Input environment
SDMAIN environment
The dictionary environment commands define the four environments as shown below. Any user of the
dictionary can use these commands with the dictionary open in any mode. The specific syntax for each of
these commands is shown in Chapter 4, "System Dictionary Commands" .
COMMENT Enters comments into the job stream for documentary purposes.
CONFIGURE Defines the output environment.
DEFINE Opens the dictionary and defines the dictionary environment.
EXIT Terminates the SDMAIN program.
FORMAT Defines the output environment.
HELP Provides a quick reference to SDMAIN commands.