beautypg.com

HP NonStop G-Series User Manual

Page 175

background image

Creating an Enform Report From Measure Data

Measure User’s Guide 520560-003

A -17

STARTENF—Creating the Report

1. Type in (or copy) STARTENF. Many commands in STARTENF assume that the

current subvolume contains certain required files. The remaining steps in this list
create these files.

STARTENF:

FUP /IN FUPPURG/
ENFORM /in ENFFBASE/
FUP /IN LOADBASE/
TACL /IN PRNTPROC, OUT $S.#ENFOUT/

2. Type in (or copy) FUPPURG. FUPPURG deletes the unstructured files (UNPROC

and UNBASE, which you re-create using the Enform product) and the contents of
the key-sequenced and alternate-key files (PROCREP and BASEREP, which you
reload using FUP).

FUPPURG:

ALLOW 100 ERRORS
ALLOW 100 WARNINGS
PURGEDATA (PROCREP, BASEREP)
PURGE (UNPROC, UNBASE)!

3. Type in (or copy) ENFFBASE. ENFFBASE executes the FINDBASE and

FINDPROC queries that create the unstructured files, UNBASE and UNPROC.
(The SET @STATS ON command generates Enform performance statistics.)

ENFFBASE:

SET @STATS ON
?EXECUTE RFBASE
?EXECUTE RFPROC

4. Type in (or copy) LOADBASE. LOADBASE loads the key-sequenced and

alternate-key files, BASEREP, PROCREP, and PROCREP0, using the data from
the unstructured files, UNBASE and UNPROC.

LOADBASE:

ALLOW 100 ERRORS
ALLOW 100 WARNINGS
COPY UNBASE, BASEREP, RECIN 44, COUNT 1
LOAD UNPROC, PROCREP, RECIN 278
LOADALTFILE 0, PROCREP

You copy only one record into BASEREP because the information describes the
measurement rather than the measurement data. The record lengths for the
RECIN option of the FUP COPY and LOAD commands were copied from the
FUPXCHNG file.

5. Type in (or copy) PRNTPROC and ENFQPROC. PRNTPROC invokes the Enform

product, specifying ENFQPROC as the input file. ENFQPROC contains the Enform