engine:import
This is an old revision of the document!
Import Engine
AddAttributeResolution Used with the program TMSS10Reconcile, a Volume's attribute value can be compared with the supplied string to identify that Volume's barcode. Allowing you to run a reconciliation using a Volume's attribute value instead of the barcode value. | |
AddExclusionOnValue Exclude a record from processing if the record contains a value matching the filter. Phase This instruction is used by the TapeTrack Import Engine. Syntax AddExclusionOnValue(field, filter); Variable Type Description Min Length | |
AddMoveDateAdjustment Add a specific number of days, months, years to the Next Move Date if a field value matches a filter value. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax AddMoveDateAdjustment(field, filter, years, months, days); | |
AddRepositoryOnMoveDate Add Target Repository based upon the value of the Next Move Date. Phase This instruction is used by the TapeTrack Synchronization Engine. AddRepositoryOnWriteTime Syntax AddRepositoryOnMoveDate(current_repository, range, target); Variable Type | |
AddRepositoryOnWriteTime Set a Repository value based upon a range of Write Times. Phase This instruction is used by the TapeTrack Synchronization Engine. AddRepositoryOnMoveDate Syntax AddRepositoryOnWriteTime(field, filter, time, target, movedate); Variable Type Description | |
AddSkipOnRepositoryChange Skip the update of a Volume if the Current or Target Repository is equal to a filter value. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax AddSkipOnRepositoryChange(proposed, target, current); Variable | |
AddSkipOnScratch Skip a move if the Volume is Scratch. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax AddSkipOnScratch(repository); Variable Type Description Min Length Max Length repository String Filter value for Repository. | |
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 | |
AddTranslation Translate the value of a field based upon the current value of the field. Phase This instruction is used by the TapeTrack Import Engine. Syntax AddTranslation(field, filter, translation); Variable Type Description Min Length Max Length | |
AddTranslation2 Translate the value of a field based upon the value of another field. Phase This instruction is used by the TapeTrack Import Engine. Syntax AddTranslation2(field, field2, filter, translation); Variable Type Description Min Length | |
AddTranslation2FromFile Translate the value of a field based upon the value of another field, where the other field value can be loaded multiple times using the contents of a file. Phase This instruction is used by the TapeTrack Import Engine. Syntax | |
AddTranslationFromFile Translate the value of a field based upon the current value of the field, where the current value can be loaded multiple times using the contents of a file. Phase This instruction is used by the TapeTrack Import Engine. Syntax | |
AddTranslationFromSQL Translate the value of a field based a list of items loaded via an SQL query. Phase This instruction is used by the TapeTrack Import Engine. Syntax AddTranslationFromSQL(field, sql); Variable Type Description Min Length | |
ChangeCase Change the case of a field. Phase This instruction is used by the TapeTrack INI Engine. Syntax ChangeCase(field, type); Variable Type Description Min Length Max Length field String The field for this instruction.1128type String | |
CleanVolume Remove illegal characters from Volume-ID's . Phase This instruction is used by the TapeTrack Import Engine. Syntax CleanVolume; Example Remove illegal character / from Volume-ID /100601L4 CleanVolume; See Also Import Engine Functions Sync Engine Fields TMSS10Sync import_engine sync_engine | |
ConditionalEmbed Conditionally embed a file containing additional definition language elements. Phase This instruction is used by the TapeTrack INI Engine. Syntax ConditionalEmbed(filepath, filter, value); Variable Type Description Min Length | |
Embed Embed a file containing additional definition language elements. Phase This instruction is used by the TapeTrack INI Engine. Syntax Embed(filepath); Variable Type Description Min Length Max Length filepath String The full or relative path to a file that you wish to embed. | |
Extract Extract a field from a record, CSV element or SQL field. Phase This instruction is used by the TapeTrack Import Engine. Syntax Extract(field, offset, length, record); Variable Type Description Min Length Max Length Min Value Max Value | |
Import Engine Functions ttidef sync_engine import_engine | |
RemoveSpaces Remove leading and trailing spaces (white space) from a field. Phase This instruction is used by the TapeTrack Import Engine. Syntax RemoveSpaces(field); Variable Type Description Min Length Max Length field String Field to have white space removed. | |
SetCSVDelimiter Set the delimiter to be used in CSV processing and instruct the engine to process each record as CSV. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetCSVDelimiter(delimiter); Variable Type Description Min Length | |
SetExpiryDateFormat Set the strptime format for parsing the expiry date. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetExpiryDateFormat("%%m/%%d/%%Y"); Variable Type Description Min Length Max Length %%m/%%d/%%YString | |
SetFile Set the path to the source file. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetFile(filepath); Variable Type Description Min Length Max Length filepath String Path to the file that will be processed. If no SetFile and no SetODBC specified engine will default to stdin. | |
SetHeaderCount Set the number of records after an initial header record that should be considered part of the header section of an input file. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetHeaderCount(count); Variable Type | |
SetInitialRepository Set the Current, Target and Scanned Repository value for newly added Volumes. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax SetInitialRepository(repository); Variable Type Description Min Length | |
SetLiteral Set a field to a literal value. Phase This instruction is used by the TapeTrack Import Engine. Syntax SetLiteral(field, value); Variable Type Description Min Length Max Length field StringThe field name to set.1128value StringThe field value to be set. | |
SetMoveDateFormat Define the way that the MOVEDATE field should be converted into a date value. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax SetMoveDateFormat(filepath); Variable Type Description Min Length | |
SetNoBodyRecords Instruct the engine to process the last record of a heading as a standard record. Phase This instruction is used by the TapeTrack Import Engine. Syntax SetNoBodyRecords Example Process the last record of a header as a body record. | |
SetPostScript Set a script to be run at the end of source processing. Phase This instruction is used by the TapeTrack Import Engine. Syntax SetPostScript(command); Variable Type Description Min Length Max Length commandString The full path to a script or executable to be run with the system(3) call at the end of Import Engine processing. | |
SetPreScript Set a script to be run at the start of source processing. Phase This instruction is used by the TapeTrack Import Engine. Syntax SetPreScript(command); Variable Type Description Min Length Max Length command StringThe full path to a script or executable to be run with the system(3) call at the start of Import Engine processing. | |
SetRecordNumberExclusions Set the number of records to exclude. Phase This instruction is used by the TapeTrack Import Engine. Syntax SetRecordNumberExclusions(exclusionfilter); Variable Type Description Min Length Max Length exclusionfilter | |
SetRemoveCharacters Remove unwanted characters from a field. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetRemoveCharacters(field, characters); Variable Type Description Min Length Max Length fieldString Field to have characters removed. | |
SetSkipOnMoveDateRange Skip the update of a Volume if the Move Date value is within a specific range. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax SetSkipOnMoveDateRange(range); Variable Type Description Min Length | |
SetSkipOnSystemChange Skip the update of a Volume if the SYSTEM field is changing. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax SetSkipOnSystemChange(target); Variable Type Description Min Length Max Length | |
SetSQL Set the SQL string that will be used to query the SQL data source. Phase This instruction is used by the TapeTrack Import Engine. Syntax SetSQL(sql); Variable Type Description Min Length Max Length sql String The SQL string that will be used to query the SQL data source. | |
SetTruncationChars Characters that should be used to determine when to truncate a field. Phase This instruction is used by the TapeTrack Import Engine. Syntax SetTruncationChars(field, chars); Variable Type Description Min Length Max Length | |
SetVar Set a local variable to a literal value. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetVar(varname, value); Variable Type Description Min Length Max Length varname String The name of the local variable to be set. | |
SetVar2Date Set a local variable to a date value. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetVar2Date(varname, date, value); Variable Type Description Min Length Max Length varname String Name of the local variable | |
SetVar2File Set a local variable to a file name that matches the defined criteria. Phase This instruction is used by the TapeTrack INI Engine. Syntax SetVar2File(varname, filter, field, offset); Variable Type Description Min Length Max Length | |
SetVolumeScript Set a script to be called for each of the updated volumes. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax SetVolumeScript(script); Variable Type Description Min Length Max Length script String | |
SetWriteTimeFormat Define the way that the WRITETIME field should be converted into a time value. Phase This instruction is used by the TapeTrack Synchronization Engine. Syntax SetWriteTimeFormat(format); Variable Type Description Min Length | |
WriteMsg Write a message to the STDERR. Phase This instruction is used by the TapeTrack INI Engine. Syntax WriteMsg(message); Variable Type Description Min Length Max Length message String The message to be written to the stderr during INI Engine processing. |
engine/import.1583288129.txt.gz · Last modified: 2025/01/21 22:07 (external edit)