HP 3000 Manuals

EDIT REPORT [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL SDMAIN

EDIT REPORT 

Edits a stored report or its description.

Syntax 

     ED[IT] REP[ORT] report-name 
         [;DESC[RIPTION]]
          .

Parameters 

report-name           Name of the stored report to be edited.

DESCRIPTION           If specified, the description of the report is
                      edited.  If not specified, the report definition is
                      edited.

Description 

You cannot use the EDIT REPORT command if input is from a file or you are
executing in batch mode.

The EDIT command calls the EDIT/V subsystem, which performs the specified
editing.  (Refer to the Edit/V Reference Manual (03000-90012) for details
regarding this subsystem.)

EDTXTxxx is the name of the temporary text file used as the interface
between the System Dictionary and EDIT/V.

To perform the editing tasks, you can use all but the following two
EDIT/V subsystem commands:  TEXT and KEEP. You cannot use the TEXT
command because EDTXT is automatically used as the text file when
entering the EDIT command.  You may not use the KEEP command for the same
reason.

When exiting the EDIT/V subsystem, you are prompted with "PURGE OLD?".
If you respond "Yes" or "Y" , an automatic KEEP is issued.  Otherwise,
the original text remains unchanged and the new text is not kept.  When a
keep is being processed, if the definition of the report was being
changed, it is parsed and any error found reported.

If you delete all lines of the description, the description is deleted
from the report.  If you delete all lines of the definition, the stored
report itself is deleted from the dictionary.

Open Mode:       Shared-update or exclusive-update

Scope:           DA scope or the report's owner scope

Example 

The following example modifies the output spacing of the report named
image-database-report from page spacing between items to double-spacing
between items.

     >EDIT REPORT image-database-report. 
     HP32201A.7.16 EDIT/3000 WED, NOVEMBER 13, 1985, 4:34 PM
     (C) HEWLETT-PACKARD CO. 1984
     /L ALL 

          1     CONFIGURE PAGE.
          2
          3     REPORT ENTITY;
          4     ENTITY-TYPE = element;
          5     SORT.
     /MODIFY 1 

          1     CONFIGURE PAGE.
               :          ddddiDOUBLE-SPACE 

          1     CONFIGURE DOUBLE-SPACE.
               :
     /L ALL 

          1     CONFIGURE DOUBLE-SPACE;
          2
          3     REPORT ENTITY;
          4     ENTITY-TYPE = element;
          5     SORT.
     /E 
     EDTXT0 ALREADY EXISTS - RESPOND YES TO PURGE OLD AND KEEP NEW
     PURGE OLD? Y 
     >


MPE/iX 5.0 Documentation