Table of Contents

AddString

Add a special String such as an Exclusion or Header String.

Phase

This instruction is used by the TapeTrack Import Engine.

Syntax

AddString(type, offset, filter);

Variable Type Description Min Length Max Length Min Value Max Value
type String The special string type from the below Type Values table 110
offset Integer The zero based offset within the record at which the filter should be applied.110-214748364 2147483647
filter String A filter value for comparison with the processed string.1256
Type Values
Value Description
HEADER A string that represents the first record of a heading section.
EXCLUSION A string that represents the a record that should be excluded from all further processing (skipped).
START A string that represents when processing should start. If there is no start string specified processing will start at the first record.
ENDA string that represents when processing should temporarily stop. Processing will recommence at the next START record.
TERMINATEA string that represents when processing should permanently stop. No processing will be done past this point, even if a START record is encountered.

Example

Define a header (ANSI page break) with 7 records, skip records not starting with an Integer and terminate processing at the first blank record.

AddString(HEADER, 0, "1*");
SetHeaderCount(7);
AddString(EXCLUSION, 0, "!([0-9]*");
AddString(TERMINATE, 0, "                   *");

See Also

Import Engine Functions
Sync Engine Fields
TMSS10Sync