EXECUTE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
EXECUTE
Executes a REPORT command that has been previously created and stored by
using a START/SAVE pair.
Syntax
EX[ECUTE] report-name
[;E[NTITY] = entity-name ]
[;R[ELATIONSHIP] = [entity-name1] ]
[ [,entity-name2 ]]
[ [,entity-name3 ]]
[ [,entity-name4 ]]
[ [,entity-name5 ]]
[ [,entity-name6 ]]
.
Parameters
report-name Name of the stored report to be executed. No
selection criteria are allowed.
entity-name Name of the entity to be reported in the executed
report. Passes this entity name to the stored
REPORT ENTITY command.
entity-name(N) Name of the entity involved in the relationship to
be reported in the executed report. Passes the
entity name to the stored REPORT RELATIONSHIP
command.
Description
Note that you can use either nothing between commas (,,) or a ^ between
commas (,^,) as a placeholder to match any entity-name(N) in the middle
of a list.
Open Mode: Read-only, shared-update, or exclusive-update
Scope: DA scope or any scope that has read access to the data
being reported
Example
The following example executes the stored report named
image-database-report for the entity named accounting. The report
reports the values of all the attributes for the specified entity.
>EXECUTE image-database-report;
>>ENTITY = accounting.
ACCOUNTING
DATE-CREATED : 11/11/84 3:30 AM
DATE-CHANGED : 11/11/84 3:30 AM
SCOPE-OWNER : DA
SCOPE-CHANGED : DA
SENSITIVITY : PRIVATE
ID-NUMBER : 0
IMAGE-DATABASE-TYPE : IMAGE
1 Entity(ies) Retrieved
>
MPE/iX 5.0 Documentation