HP NonStop G-Series User Manual
Page 166
![background image](/manuals/397027/166/background.png)
Creating an Enform Report From Measure Data
Measure User’s Guide — 520560-003
A- 8
NEWSUBVL—Establishing the Subvolume
The first line of NEWSUBVL creates a new DDL dictionary using the RECORD
statements in $SYSTEM.SYS
nn
.MEASDDLS. Examine NEWSUBVL to ensure
that the specified SYS
nn
subvolume is correct for your system. If not, edit
NEWSUBVL and correct it.
Many of the commands in NEWSUBVL assume that the current subvolume
contains certain required files. The remaining steps in this list create these files.
2. Type in DDLXCHNG, as shown in
on page A-9. DDLXCHNG contains
the RECORD statements that define the unstructured (UNBASE and UNPROC)
and key-sequenced (BASEREP and PROCREP) files that will contain the
information to be used in the report.
The ?FUP command at the beginning of DDLXCHNG directs DDL to create a FUP
schema file, FUPXCHNG. The schema file created by DDL contains the FUP
commands that define a file to match each RECORD statement. Later, you use
FUPXCHNG as input to FUP to create the key-sequenced and alternate key files.
You can use FUPXCHNG as written by DDL. However, in this example,
NEWSUBVL edits FUPXCHNG to create all the files with primary and secondary
extents of 20 pages.
on page A-12 shows the FUPXCHNG file created by DDL after it has
been edited by NEWSUBVL.
3. Type in FUPPURGE, as shown here. FUPPURGE purges the files defined by the
schema file. You cannot use FUP and the schema file to create the unstructured
and key-sequenced files if files with the specified names already exist.
FUPPURGE:
ALLOW 100 ERRORS
ALLOW 100 WARNINGS
PURGE (UNPROC, UNBASE) !
PURGE (PROCREP, BASEREP) !
PURGE (PROCREP0) !
4. Type in COMPILE. COMPILE contains the Enform commands that compile the
queries used to create the report. By compiling the queries in NEWSUBVL, you
save time when you run them to generate the report.
COMPILE:
?COMPILE findbcpu TO rfbase
?COMPILE findproc TO rfproc
?COMPILE qdproc TO rqdproc
5. Enter the queries FINDBCPU, FINDPROC, and QDPROC. (See
on page A-14.) FINDBCPU contains the FIND
statement that defines the fields in the UNCPU record. FINDPROC contains the
FIND statement that defines the fields in the UNPROC record. QDPROC contains
the Enform statements that generate the final report.