Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 9 of 10

TCLOAD Reference Manual, pages 81 to 90

Pages 81 to 90 of 96

The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the VeriFone Tranz 330

Page 81 read from a scan by OCR; it may hold reading errors

Appendix G. Link File Examples

Example 1

Example 2

Following is an example of a link file that contains only one element in its link.

; File Name: Demo.XL ; Execution command line:

TCLOAD DEMO.XL -T ; VISA 2nd generation application for XL ; duly 1986 ;RAM version (XL XE2AU220) %XE2AU220 ;Include files

@STARTUP.INC _ ; startup/clear routine

The following example is also a link file, but it includes a number of files in its link.

; VISA 2nd generation application for XL

; July 1986

;RAM version (XL XE2AU220)

%XE2ZAU220

;Include files

@DATA.INC ; terminal data @TKEYS.INC ; transaction keys ctl strings @XMIT.INC ; bld transmit packet @DCDETL.INC ; bld de detail @RANGE.INC ; account ranging @ACCUM.INC ; accumulator update @PHONE.INC ; host phone numbers file @BATCH.INC ; dc/batch settlement

@ REVIEW.INC ; review dc details @VOID.INC ; void de transactions

Page 82 read from a scan by OCR; it may hold reading errors

TCLOAD Reference Manual

@STARTUP.INC @TOTDIS.INC @TSTMEM.INC

; Startup/clear routine ; totals display/summary report ; test available memory

Page 83 read from a scan by OCR; it may hold reading errors

Appendix H. Sample TCL File

The following is an example of a TCL file created with WordStar®. This is an actual excerpt from the VISA second generation data capture application.

Example: ; The file is named Startup.INC

; Data Capture Batch Startup Routine

039$ ; Begining of Startup Task B5.5G A77 ; Check if batch request was made 17.1.49 ; P902 ; NO, print error msg K P190 ; prompt for PASSWORD? K7 *L170 ; Clear batch ; but do not update sequence number P703 ; Display new batch begins message

L29; Now, cleanup status flags

; if yes, then continue

G

“JI ; LEFT JUSTIFY

A133 ; Display last error code

V

G

R48

U132 ; reset RETRY counter

L28 ; continue in mem loc 28 028$ _;beginning of startup task continued

GA142 ; Now check if batch was transmitted

19.2.49 ; If not, skip and process error

GA133;CHECK LAST ERROR MESSAGE 16.1.Q’; IF Q THEN DELETE BATCH *L170 ; If yes, clear DC and ACC

Page 84 read from a scan by OCR; it may hold reading errors

TCLOAD Reference Manual

P703 GR49 T78 ; Increment sequence number *K1 ; Now abort this task. B5.5G ; SELECT TEMP REG A139 ; Display "UNSUCCFL TRNSMIT" Vv G L87 ; link to continue 087$

; if this is a Q response request for password and ; delete batch

A187 ; Display the ’Call VISA’ msg *G1V ; Ring the bell to signal error B5.5G ; reset pointers and clear buffer

GA133;CHECK LAST ERROR MESSAGE 16.2.’Q’; IF Q THEN DELETE BATCH

*L170 ; PURGE BATCH P703 GR49 T78 ; Increment sequence number L29 ; EXIT ; ELSE

L148; MUST BE A’R’ CONTINUE

148$ ;batch settlement error processing G P144 ; Correct password, now prompt for ; whether to continue DC or clear it K2.1 ; cont. batch?y/n 111.1.57 ; YES, THEN RESET INHIBIT FLAG AND EXIT

Page 85 read from a scan by OCR; it may hold reading errors

Appendix H. Sample TCL File

12.1.54 ; IF NO, THEN PURGE DC

*G1 ; ERROR BEEP

L ; INCORRECT RESPONSE, ASK AGAIN P190 ; prompt for PASSWORD

K7 ; accept pswd input and verify w/internal pswd

*L170 ; PURGE BATCH

P703

GR49

T78 ; Increment sequence number

11 ; EXIT

P702 ; DISPLAY BATCH CONT

L29 ; link to continue 029$

GR’0’ ; move ’0’ into dest buffer

U142 ; reset transmitted flag

GR’00’

U77 ; reset inhibit flag

*K1

Page 86 read from a scan by OCR; it may hold reading errors

TCLOAD Reference Manual

Page 87 read from a scan by OCR; it may hold reading errors

Appendix I. Error Messages

Following is a list of error messages that you may receive from TCLOAD during the course of development. The list is arranged in numerical order and includes the level of severity as well as a description of the error.

Error Code __ Severity Description

000 FATAL “incorrect type or size of"

001 FATAL "RAM heap space exhausted while trying to allocate"

002 FATAL “could not find firmware description database file"

003 FATAL “not a TCL firmware description database"

004 FATAL "incompatible firmware description database, version"

005 WARN "missing description in database of firmware version"

006 FATAL “name of hints file was not supplied"

007 SEVERE "name of database file not supplied, using default"

008 SEVERE "command switch specified unsupported card type"

009 FATAL “version directive must be first uncommented line"

010 SEVERE _ "version ID not supplied, using ID in program text"

O11 WARN "version already identified"

012 WARN "line truncated at 80 characters, location"

013 FATAL “abrupt End-of-File encountered after"

014 WARN "not a predefined string for this EPROM version"

Page 88 read from a scan by OCR; it may hold reading errors

TCLOAD Reference Manual

Error

Code _ Severity Description

015 FATAL "$ encountered before control string label"

016 FATAL "? not expected in this position"

017 FATAL =’ encountered before name of string"

018 FATAL “string literal not expected in this position"

019 FATAL "(’ not expected in this position"

020 FATAL ") not expected in this position"

021 SEVERE _ "illegal character or word for string assignment"

022 SEVERE "numeral not expected in this position"

023 SEVERE "word not expected in this position"

024 SEVERE “illegal character"

025 WARN "equal sign was expected"

026 WARN "dollar sign was expected"

027. SEVERE “not a command name"

028 SEVERE "expected a word, instead of"

029 SEVERE "missing open parenthesis"

030 SEVERE "missing required parameter"

031 SEVERE "missing separating comma"

032 SEVERE "missing closing parenthesis"

033 SEVERE "missing closing bracket"

034 SEVERE _ "string literal not terminated”

035 WARN “character should not be escaped"

036 SEVERE "missing closing single quote - truncated after"

037 SEVERE "missing closing double quote - truncated after"

038 SEVERE “word in double-quoted expression too tough to handle"

039 SEVERE "missing matching keyword after "END""

040 SEVERE _ "invalid specification for memory address forcing"

041 FATAL “command found outside of control string"

042 SEVERE _ "reserved word used as identifier"

Page 89 read from a scan by OCR; it may hold reading errors

Appendix I. Error Messages

Error Code Severity Description

043 SEVERE “symbol defined twice" 044 WARN “symbol had been declared as null string earlier" 045 SEVERE "symbol defined or used inconsistently"

046 SEVERE "symbol type/value changed between passes -- symbol"

047 SEVERE “unidentified symbol found on second pass -- symbol"

048 SEVERE "parameter value out of range"

049 SEVERE _ “invalid negative value"

050 SEVERE “unknown option name"

051 INFORM "may use option names provided, instead of" 052 SEVERE “invalid ASCII specification”

053 SEVERE "need digit, not"

054 SEVERE “need number, not"

055 SEVERE “need single-digit value, not"

056 SEVERE "need fixed prompt location, not"

057 SEVERE, "fixed prompt location out of range" 058 SEVERE "need variable name, not"

059 SEVERE “identifier not defined as VAR"

060 SEVERE "variable needs to be of type VAR" 061 SEVERE "must declare a name"

062 SEVERE _ "bad value for variable assignment" 063 SEVERE “location cannot be stored"

064 SEVERE "location already loaded"

065 SEVERE "ran out of two-digit location numbers on" 066 SEVERE “could not shorten control string"

067 SEVERE "too many characters in location"

068 FATAL "no more memory locations available"

069 FATAL “can’t allocate the requested number of contiguous loc’s"

Page 90 read from a scan by OCR; it may hold reading errors

TCLOAD Reference Manual

Error Code __ - Severity Description 070 FATAL “requested location is not in pool of available locations" 071 INFORM "forcing a system string to a specific address" 072 SEVERE "disregarding illegal forcing of system string’s address"

073 SEVERE '"8-bit location number unavailable for"

074 FATAL "INTERNAL CONFUSION -- bad reference type on"

075 FATAL "INTERNAL CONFUSION -- bad macro subscript word"

076 SEVERE "INTERNAL CONFUSION -- unimplemented irregular parameter type for"

077 SEVERE "INTERNAL CONFUSION -- undefined parameter type"

078 SEVERE "INTERNAL CONFUSION -- unexpected character"

079 SEVERE "INTERNAL CONFUSION -- can’t push character, because of"

080 SEVERE “INTERNAL CONFUSION -- severity has fallen below zero for"

081 SEVERE "INTERNAL CONFUSION -- couldn't find link to remove it"

082 SEVERE "INTERNAL CONFUSION -- couldn’t find cross reference to remove it"

083 SEVERE "not a specification of a memory location" 084 SEVERE "need a reference to a variable, not"

085 WARN "should use symbolic command labels, instead of" 086 FATAL “unsupported communications port #"

087 SEVERE “unable to configure COM port"

088 SEVERE _ "serial port configuration error"

089 SEVERE _ "serial output buffer overflow"

090 WARN "terminal reporting invalid memory map"