file_extract_spec 

Syntax

<file_extract_spec > ::= START <valSTART_POS> [<valRECORD_COUNT>]

valSTART_POS

Number of the first data record to be loaded

valRECORD_COUNT

Number of data records to be loaded

Use

This is a syntax rule for describing data access.

When you load data (commands for loading and unloading data), you describe in a FASTLOAD or DATALOAD command in the infile_spec that only a certain section of the source file is to be loaded.

If the source files have the format COMPRESSED or FORMATTED, the REPM Server uses the number of the specified data record to determine the line in the source file as of which loading starts.
If the source files have the format
FORMATTED BINARY, the REPM Server uses the number of the specified data record and the length of an individual data record in the source file to determine the position in the source file as of which loading starts.

Lines 5-15 of source file customer.data are to be loaded. As line 5 is to be included when the data is loaded, you must specify 11 as the number of lines.

FASTLOAD TABLE customer
  cno           1
  last name     2
  zip           3
  place         4
INFILE 'customer.data' START 5 11