-17- 



SECTION 2, DATA CODING AND PROGRAM EXECUTION 



Program Operating Environment 



INVENT was developed on the DEC-10 system at the University of New Hamp- 

 shire. INVENT is an interactive system acquiring all of its job control 

 related information from the user through a dialogue. Unit 5 (TTY on DEC-10) 

 is used as the input and output device for all of INVENT 's interactive 

 dialogue. 



For each stratum the plot and tree data must reside on a disk file with 

 a unique name. The name of the file is specified by the user at execution 

 time as INVENT processes each stratum. Unit 21 is used to input each disk 

 file. The file uses a fixed format as described below. 



If the user wishes to use alternate form classes, these must reside on 

 a disk file also. The user specifies the name of this file at execution 

 time and unit 1 is used to input this file. The file uses a fixed format as 

 described on page 18. 



All output is written to unit 3 (LPT on DEC-10) to a file named INVENT. LPT. 



Data File Format and Coding 

 An individual data file must exist for each stratum. The file consists 

 of card images coded as follows: 



Card Type Columns Format Variable Description 



Title 1-70 12A5 TITLE Stratum title 



Plot 1-2 12 POINT Plot number (1) 



Number of trees on plot (1) 



Tree 1-2 A2 SPEC Species code 



Diameter at breast height 



Product code (2) 



Tree height 



Number of trees of this 



description (3) 

 Percent sawlog (4) 



(1) When using the summary option where trees are not tallied by Individual 

 plots, only one plot card is used and it is coded as follows: POINT =-9, 

 TREES = number of plots sampled . 



(2) Product codes: Sawlog (S or blank); Pulpwood (P) ; Percent Sawlog (%) . 



(3) If IREP is coded as or blank, the program assumes IREP = 1. 



(4) PCTSAW is ignored unless PROD = %. PCTSAW is coded as a percent (0-100) 

 and the F3.2 format reads it as a decimal (0-1.00). 



