
This could be a text file in the IFS or a single field file in the DB2
These files can be created using various copy commnds, queries, Sql or programs.
These are often used to import/export data.
Phil

You may also CHAIN by rrn (relative record number) if file is a DB2-file.
If f.x. you have some data with numbers as id’s (ex employe numbers 105->125), it is possible to place these data in 20 records which you access via CHAIN - just subtract 104 from the emp.no. first. The solution requires all 20 records to exist in the file.
This kind of solution is possible, but NOT recommented.
DanF

If you know where the fields begin/end you can define them in a data structure or
define the programaticaly. Somtimes flat files come from an external source or are created for external sources with a predefined record length.
Things that come to mind that we use them for here are some EDI formats and bank tranfer files that have mutliple record formats in the same file defined by a code.
ex. A code 1 record has 5 fields, the code 2 record has 3 fields, the code 7 has 8 fields all with a record length of 80 chars.

















