Welcome Guest! Log in
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…


The File Metadata offers the possibility to define filters, that allows to specify a range of records to process.

This can be useful to define more precisely the records to treat when loading files.

Prerequisites:

  • Stambia DI Designer S18.3.0 or higher
  • Stambia DI Runtime S17.4.0 or higher

 

Metadata Configuration

To define the range filter:

  1. Open the File Metadata
  2. Add a Filter on the Record, or update an existing one
  3. Set the First Line and Last Line Parameters

 

metadata

Notes:

  • You can use negative values like -10 in these parameters to filter from the end of the file
  • If the First Line parameter is not set, it will be considered as '0' (read everything from the beginning).
  • If the Last Line parameter is not set, it will be read until the last line of the file.
  • This filter only applies when reading the file, not when writing it.

 

That's it! From now, when the file will be read in a Mapping or Process, only the specified lines will be retrieved.

 

Articles

Suggest a new Article!