HP 3000 Manuals

Ch 4. File Description Specifications [ HP RPG/iX Reference Manual ] MPE/iX 5.0 Documentation


HP RPG/iX Reference Manual

Chapter 4  File Description Specifications 

The File Description Specification describes the general characteristics
of files used in a program.  These characteristics include:

   *   The file name.

   *   The type of file (such as input, output, or combined).

   *   The size of the logical records in the file.

   *   The format of the records in the file (fixed-length or
       variable-length).

   *   The class name of the device where the file resides (disk, tape,
       or other media).

You must enter a File Description Specification for each file except
LDAFILE, RPGUDATE, and USWITCH files and those containing compile-time
tables and arrays, ALTSEQ records and file translation records.

If you're processing KSAM or TurboIMAGE files, you must also include one
or more File Description Continuation lines.  The Continuation lines give
additional information about the file.  File Description Continuation
lines are also discussed in this chapter.  The HP RPG Programmer's Guide 
contains a complete discussion of processing KSAM and TurboIMAGE files.

The File Description Specification is identified by an F in column 6:
___________________________________________________________________________________
|                                                                                 |
|                1         2         3         4         5         6         7    |
|            678901234567890123456789012345678901234567890123456789012345678901234|
|              _______________________________________________________            |
|                                                                                 |
|            F                                                                    |
|                                                                                 |
|                                                                                 |
___________________________________________________________________________________

          Figure 4-1.  The File Description Specification 



MPE/iX 5.0 Documentation