TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:setheadercount

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
engine:import:setheadercount [2018/08/14 22:55] – created dcummingengine:import:setheadercount [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-setheadercount+====== SetHeaderCount ======
  
-==== SetHeaderCount ==== 
 Set the number of records after an initial header record that should be considered part of the header section of an input file. Set the number of records after an initial header record that should be considered part of the header section of an input file.
  
-==== Phase ==== +===== Phase =====
-This instruction is used by the TapeTrack Import Engine.+
  
-==== Syntax ==== +This instruction is used by the TapeTrack INI Engine.
-**SetHeaderCount**//(count);//+
  
-integer //count;//+===== Syntax ===== 
 +''SetHeaderCount(count);''
  
-|count| Number of records in a header (including the initial header record) as identified by AddString with HEADER argument.|+^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ Min Value ^ Max Value ^ 
 +|count| Integer|Number of records in a header (including the initial header record) as identified by AddString with HEADER argument.|1|10|-214748364 |2147483647|
  
-==== Example ==== +===== Example ===== 
-**SetHeaderCount: 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*");| +Define a header (ANSI page break) with 7 records, skip records not starting with an Integer and terminate processing at the first blank record. 
-|SetHeaderCount(7);| + 
-|AddString(EXCLUSION, 0, "!([0-9]*");| +<code> 
-|AddString(TERMINATE, 0, " *");|+AddString(HEADER, 0, "1*"); 
 +SetHeaderCount(7); 
 +AddString(EXCLUSION, 0, "!([0-9]*"); 
 +AddString(TERMINATE, 0, " *"); 
 +</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]] 
 + 
 +{{tag> import_engine sync_engine}}
engine/import/setheadercount.1534287325.txt.gz · Last modified: 2025/01/21 22:07 (external edit)