Importing ASCII Record Definitions to Network Integrity File Parser Processors

You can import record definitions from a sample delimited file to discover field names and to populate the record and field definitions.

Before importing record definitions, the sample file must conform to the following:

  • Sample files must have a header with field names.

  • Sample files cannot have empty header field names.

  • Field names must be unique. If the sample file contains duplicate field names, Design Studio displays a warning message and appends a prefix to the field names to differentiate them.

Note:

Importing ASCII record definitions only imports a single header record and matching body record. Any existing records and fields defined in the file parser processor are deleted. The created header record is marked as Ignored by default.

To import ASCII record definitions:

  1. From the ASCII Parser Definition area, click the Import button.

    The Import Sample ASCII File dialog box appears.

  2. (Optional) Change the following default values:

    • In the Header Record Name field, enter a name for the header record.

    • In the Body Record Name field, enter a name for the body record.

    • From the Field Delimiter list, specify a field delimiter.

      If you specify Custom, enter the custom field delimiter expression in the Custom Field Delimiter field.

  3. In the Sample File Path field, enter the path to the sample ASCII file to import.

    Click the Browse button to navigate to the location of the sample file.

  4. Click OK.

    Design Studio imports the sample ASCII file. The record definitions appear in the Record Definition Details area.

  5. Create trailer records.

    You cannot import trailer records. See "Configuring Network Integrity File Parser Processor ASCII Settings" for more information.