TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:extract

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:import:extract [2020/03/12 02:11] – [Example] Scott Cunliffeengine:import:extract [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 16: Line 16:
 ===== Example ===== ===== Example =====
 Extract VOLUME field from offset 10, length 6 of the body of a report. Extract VOLUME field from offset 10, length 6 of the body of a report.
-<sxh>+<code>
 Extract(VOLUME, 10, 6, 0); Extract(VOLUME, 10, 6, 0);
-</sxh>+</code>
  
 Extract VOLUME field from the 2nd element of a CSV file. Extract VOLUME field from the 2nd element of a CSV file.
-<sxh>+<code>
 SetCSVDelimiter(","); SetCSVDelimiter(",");
-|Extract(VOLUME, 2, 6, 0); +Extract(VOLUME, 2, 6, 0); 
-</sxh>+</code>
  
 Extract REPOSITORY field from offset 70, length 4 of the 3rd record of a header. Extract REPOSITORY field from offset 70, length 4 of the 3rd record of a header.
-<sxh>+<code>
 Extract(REPOSITORY, 70, 4, 3); Extract(REPOSITORY, 70, 4, 3);
-</sxh>+</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]]
  
 {{tag> import_engine sync_engine}} {{tag> import_engine sync_engine}}
engine/import/extract.1583979087.txt.gz · Last modified: 2025/01/21 22:07 (external edit)