Defining Data File Information PMSTYF99.DAT

The PMSTYF99.DAT file is used to define various types of information related to data files. A set of information exists for each data file. This sample shows the information on the order file:

******************************************************************************

*                      FILE DEFINITION AND CONTROL FILE

*                      GENERAL DEFINITIONS

******************************************************************************

NUMBERS OF REGISTRE: 23 VERSION 01

MAXIMUM NUMBER OF INDEX PER FILE: 05

******************************************************************************

*                      FILE DEFINITIONS

* DAY-PTC FILE, COMMON CDPREG, ROUTINE READDP

******************************************************************************

FILENUMBER: 01

FILENAME : DPRE

DESCRIPTION: Shift model days

FILE NUMBER FOR DATABASE-FILE: 26

MAXIMUM NUMBER OF RECORDS IN DATABASE-FILE : 00200

LOGICAL RECORDLENGTH (0=ONLY ONE LOGICAL RECORD) : 0

BUFFERHANDLING (I=IMEDIATE WRITE,W=WAIT FOR NEW RECORD/BUFFER FULL) I

FILE NUMBER FOR DATA-INPUT-FILE: 27

NUMBER OF INDEX: 01

FILENUMBER FOR INDEX-FILES: 28

GROWTH PERCENTAGE PER INDEX: 000

MAXIMUM SIZE OF INDEX: 00200

SELECTION CRITERIAS USED WHEN GENERATING INDEX : N

INDEX1: $197-4/*101

The definition of data file information takes place in these general steps:
  • Defining the index size
  • Number of registers
  • Maximum number of index per file
  • File identification number
  • Descriptive file name
  • File number for database file
  • Maximum number of records in the database file
  • Logical record length
  • The way buffers are used
  • File number for data input file
  • The use of indexes
  • Selection criteria used when generating index