RPG/400 Help
For a program described input file, input specifications describe the types
of records within the file, the sequence of the types of records, the fields
within a record, the data within the field, indicators based on the contents
of the fields, control fields, fields used for matching records, and fields
used for sequence checking. For an externally described file, input
specifications are optional and can be used to add RPG/400 functions to the
external description. Input specifications are also used to describe
data structures and named constants.
Entries on input specifications are divided into the following
categories:
- Record identification entries (positions 7 through 42), which describe the
input record and its relationship to other records in the file.
- Field description entries (positions 43 through 70), which describe the
fields in the records. Each field is described on a separate line,
below its corresponding record identification entry.
For externally described files, entries on input specifications are divided
into the following categories:
- Record identification entries (positions 7 through 14, and 18 and 19),
which identify the record (the externally described record format) to which
RPG/400 functions are to be added.
- Field description entries (positions 21 through 30, 53 through 62, and 65
through 70), which describe the RPG/400 functions to be added to the fields in
the record. Field description entries are written on the lines
following the corresponding record identification entries.
For data structures, entries on input specifications are divided into the
following categories:
- Data structure statements (positions 7 through 12, 17 through 30, and 44
through 51), which define data structures.
- Data structure subfield specifications (positions 8, and 21 through 58),
which describe the subfields of the data structures. Data structure
subfield specifications are written on the lines following the data structure
statements.
Detailed information for the input specifications is given in:
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.