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 31 of 37

TCL Terminal Control Language Programmer's Manual, pages 301 to 310

Pages 301 to 310 of 362

The original document is the PDF (13 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 301 read from a scan by OCR; it may hold reading errors

Comment Directive

Data Declaration Directive

Command String Declaration Directive

Appendix E. TCLOAD Basics

VeriFone recommends that for large applications, you create separate TCL files for each function. You can then create an include file, containing the operating system software version and the path names for each of the TCL function files. The following example shows an include file which links two TCL files:

%1.71 @C:\BATCH.INC @C:\DATA.INC

TCLOAD allows you to document your application code by including comments after TCL commands. You can write comments anywhere in the TCL file using the semi-colon (;) comment directive. When writing comments, begin them with a semi-colon and terminate the comment with a carriage return and line feed.

The following example shows various uses of the comment directive:

%3E2CU300 ; this is version 3.00 of the OPSYS @C:\BATCH.INC ; include the batch settlement file ; Acomment directive can also begin in column one.

The data declaration directive, the equal (=) sign, assigns a string of data to a memory location. The data directive must exist on one and only one line; it cannot be split across a line. The directive is terminated by either the carriage return or comment directive (';" sign). When using the data declaration directive, write the three-digit memory location address beginning in column one, and use the following format:

NNN=STRING<CRLF> NNNN=STRING<CRLF> (TRANZ 380) Where:

NNN = 3-digit memory location address NNNN = the 4-digit memory location address (TRANZ 380) STRING = the data string

The following example shows a prompt assignment to memory location 123: 123=ENTER DATE

The command string declaration directive, the dollar ($) sign, assigns a TCL control string to a memory location. When using the control string declaration directive, write the three-digit memory location address beginning in column one, and use the following format:

NNN$STRING nnnn§$string (TRANZ 380) Where:

NNN = 3-digit memory location address NNNN = 4-digit memory location address (TRANZ 380) STRING = the TCL control string

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

E-4

Partial Download Directive

TCL Programmer’s Manual

Note: You can enter any number of spaces, comments or TCL commands following the $ directive. To terminate a command string directive, either write another file directive or end the file.

In the following example, a control string is assigned to memory locations 131 and 143, and then the file ends:

131$ G__; Clear buffer A50 ; Get first prompt V.2.4; Put it up and wait 143$

GA29; Clear and append buffer

A partial download is a download in which only selected memory locations are downloaded to an XL or TRANZ 330/340/380 terminal. This type of download is ideal for updating control strings without downloading the entire program. You can select memory locations for partial download using the ampersand (&) partial download directive.

When marking memory locations for partial download, remember to place the "&" directive in column one and to use the following format:

&NNNSSTRING &NNNNS$STRING Where:

NNN= 3-digit memory location; NNNN = 4-digit memory location (TRANZ 380) STRING = the TCL control string or

&NNN=STRING<CRLF> &NNNN=STRING<CRLF> (TRANZ 380) Where:

NNN =3-digit memory location NNNN = 4-digit memory location (TRANZ 380) STRING = the string of data

This partial download directive only affects the UDL file. The following example marks the control string for a partial download stored in memory location 131. &131$

G_; Clear buffer

A5O ; Get first prompt

V.2.4; Display it and wait

Note: You can also use the ZONTALK 2000 “Mark Entry" feature to mark memory locations for a partial download. Consult the ZONTALK 2000 Reference Manual for more information on marking memory locations for a partial download.

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

Running the TCLOAD Program

TCLOAD Options

Appendix E. TCLOAD Basics

Now that you’ve written your TCL files using the TCL commands and the © TCLOAD file directives, you’re ready to run the TCLOAD Program. At the system prompt, type:

TCLOAD filename.ext -option 1 option 2 ... Where:

TCLOAD = the program command name filename.ext = the name of your application program file option = one of the TCLOAD options

D_ This option is used to create a ZONTALK DXL/DTZ file; the file is used to perform a ZONTALK direct download (not supported by TRANZ 380).

Tn This option is used to direct download to a target XL or TRANZ terminal via COM port n, where n = 1 (COM 1) or 2 (COM 2).

U_ This option creates a ZONTALK UDL file; the file is used by ZONTALK to perform downloads via a modem.

A_ This option can only be used with the "U" option to mark all memory locations in the UDL file for a partial download. Default is not marking for a partial download.

B<filename>

This option is used to specify the file name of the firmware description database file. This is the file that keeps track of the different EPROM releases and some basic things that are supported in them.

V<ver>

This option is used to change the version ID from the command line by adding the phrase "-v<vers>" to the command line, where <vers> = the version ID you want.

Z_ This option requires the name of a valid Device Driver file to follow the command option. It may be used as with a TCL program or ina stand-alone fashion. When used alone, it must be accompanied by the -V option to provide an EPROM ID (not supported by TRANZ 380).

R_ Create .RCL file for RAM cartridge downloads. This option must be used with a TCL text file in order to generate an .RCL file

Note: Option commands are not case sensitive. Separate each option command with one or more spaces. Options may be combined and will be interpreted from left to right. [CTRL] [C] will abort the download process.

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

Error Handling

TCL Programmer’s Manual

To view a short description of the TCLOAD options, just type "TCLOAD" without any arguments.

TCLOAD error reports include a three-digit error code number as well as the description of the error. When you report any problems you are having with TCLOAD, be sure to include both the code number and description.

Error messages consist of four parts:

¢ Level or severity ¢ 3-digit error code ¢ Description

¢ Location of error

There are four levels of severity included in error messages:

¢ INFORMATIONAL - not pertinent to the correctness of a program e WARNING - there is potentially erroneous code * SEVERE - the program is not correct ¢ FATAL - TCLOAD could not recover from the error

The text of an error description is usually sufficient to direct you to the nature of the problem and how to correct it. The error description enclosed in double quotes may contain a portion of your program that is part of the error.

The location of the error is given by file name and line number, unless the error does not have anything to do with your TCL program itself.

Note: If an error description begins with the words “INTERNAL CONFUSION", report the error immediately to VeriFone Customer Support (1-800-654-1674). This message indicates you have triggered an unexpected weakness in TCLOAD, aside from any possible "bug" in your program. Do not attempt to find the source of the problem. Prepare a complete copy of the program and command line that triggered this error message after calling Customer Support and send it to VeriFone so that the problem can be corrected as soon as possible.

The following is a numerical listing of error codes along with definitions and an explanation of the procedure to use for correcting the error.

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

002

Appendix E. TCLOAD Basics

RAM heap space exhausted, while trying to allocate

TCLOAD requires 256K of available memory. There is either insufficient RAM on your PC or too much of your RAM is already occupied with other memory-resident software.

003 FATAL Could not find If there is a file name given, it is the file firmware you named on DOS command line with description the -b command option. If there is no database file file name given, the file TCLOAD.DBS could not be found in any of the customary places. Consult the Installation Procedure section in the TCLOAD Reference Manual.

004 FATAL Not a TCL The file TCLOAD expected to be its firmware firmware description database is description incorrect. Obtain and install a proper database copy of this file.

005 FATAL Incompatible The database file is obsolete firmware (incompatible with a new version of description TCLOAD.EXE). Obtain and install the database, version of TCLOAD.DBS that should version have accompanied your firmware.

006 |WARNING |Missing description |The database file does not contain data in database of on the new TCL EPROM release that firmware version you are developing. Obtain the version of TCLOAD.DBS that should have accompanied your firmware and install it.

008 SEVERE |Name of database |You used the -b command option from file not supplied, the DOS command line, but gave no file using default name. TCLOAD is telling you that it will search for the file TCLOAD.DBS in the customary places

009 FATAL Version directive You have something other than must be first comments before your version (%) uncommented line _|directive.

010 SEVERE _ {Version ID not You used the -v command option from supplied, using ID jthe DOS command line but gave no in program text version ID name. TCLOAD is telling you that it will use the version directive present in your TCL program.

011 WARNING |Version already There is more than one version directive identified present in your TCL program. Only the first version is recognized.

012 WARNING |Line truncated at _[There is a line of text in your program

80 characters, location that is longer than the maximum permitted. Break it up into lines that fit on your PC screen.

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

TCL Programmer’s Manual

Location cannot be

063 (SEVERE The indicated memory location has stored already been defined.

067 |SEVERE |Too many The length of the string in this location characters in exceeds the maximum supported by the location TCL EPROM.

078 SEVERE = |INTERNAL The indicated character is normally not CONFUSION encountered. Report this error to expected character |VeriFone Customer Support immediately.

086 FATAL Unsupported Only ports 1 and 2 are supported. communications port #

087 SEVERE |Unable to The specified COM port could not be configure COM port |initialized for XL direct download.

088 SEVERE _ [Serial port The serial port could not be initialized configuration error |for XL direct download.

089 SEVERE _ |Serial output buffer |A character could not be output overflow because the serial output buffer was saturated.

090 |WARNING |Terminal reporting |A terminal is indicating that you are invalid memory attempting to download an incompatible map memory image.

091 SEVERE _ {Direct download The memory image could not be transmission error {transferred to the terminal.

092 FATAL Mismatch in A TRANZ terminal is indicating an EPROM version incompatible memory image. numbers

093 SEVERE |Command option jOnly Track 1 and Track 2 cards are specified in currently supported. supported card type

For further information regarding TCLOAD, refer to the TCLOAD Reference Manual (VeriFone Part Number 10016).

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

Fixed Prompts Table 1 through 32

Appendix F. Fixed Prompts Tables

This appendix includes the listing of the fixed prompts stored in ROM and controlled by the "F" command. Both a numerical and alphabetical listing of the prompts are provided.

Numerical List

Code Fixed Prompt

1 ENTER ACCOUNT #

2 EXPIRY DATE MMYY (month, year) 3 AMOUNT OF SALE

4 ENTER TRAN CODE

5 ENTER ID NUMBER

6 ENTER CARD

7 TCK ID # OR CARD

8 ENTER STATE CODE 9 BIRTHDATE MMDDYY (month, day, year) 10 ENTER DATE MMYY (month, year) 11 AMOUNT OF CREDIT 12 BAD TRAN CODE

13 BALANCED OK

14 BATCH CLEARED

15 BATCH IS FULL

16 BATCH PURGED

17 BATCH RETAINED

18 CANNOT CORRECT 19 CAPTURE COMPLETE 20 CARD EXPIRED

21 CONFIRM 0=Y 1=N

22 CONT. BATCH? Y/N 23 DELETE BATCH ?

24 DEP? PRESS ENTER 25 DEPOSIT AMT NEXT 26 DISP=0 PRINT=1

27 END OF BATCH

28 END OF REPORT

29 ENTER # TICKETS

30 ENTER AMOUNT

31 ENTER AUTH CODE 32 ENTER CARD TYPE

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

Fixed Prompts 33 through 80

TCL Programmer’s Manual

Code Fixed Prompt

33 ENTER CODE

34 ENTER COMPANY # 35 ENTER DEPOSIT

36 ENTER DESC CODE 37 ENTER EXP DATE

38 ENTER ITEM #

39 ENTER NEW AMOUNT 40 ENTER NEW NUMBER 41 ENTER NEW# AGAIN 42 ENTER OLD AMOUNT 43 ENTER OLD NUMBER 44 ENTER ORIG AUTH# 45 ENTER ORIG CODE 46 ENTER ORIG SEQ # 47 ENTER PASSWORD 48 ENTER PLAN #

49 ENTER REF NUMBER 50 ENTER SECOND KEY 51 ENTER STORE #

52 ENTER SUPER #

53 ENTER TERM ID

54 ENTER TRAN TYPE 55 ENTR DATE MMDDYY 56 ENTR OFFLINE CDE 57 FIELD NUMBER

58 IN BALANCE

59 INVALID PASSWORD 60 INVALID RESPONSE 61 INVALID SUPER #

62 ITEM COUNT:

63 KEY NOT OPEN

64 LOCAL REVIEW

65 MANAGEMENT

66 MUST CHECK TOTS 67 MUST DO STARTUP 68 NEW BATCH BEGINS 69 NEW NUMBER READY 70 NO TRANSACTIONS 71 NOT FOUND

72 PLEASE WAIT ...

73 PRINTING ...

74 PROCESSING ...

75 PROTECTION INVLD 76 RE-TRANSMIT

77 REENTER EXP DATE 78 SERV NOT ALLOWED 79 SETTLE NOW

80 SETTLE SOON

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

Y3LN3 SSaud 9ZI

“ WHO4 LYSSNI Sz

WV # vz

IW.LOL IWNINYSL eZ

WIL 31iva Zl

LYOd3Y SNIONV IVE LZ

YAWOLSNO-AdOO WOLLOG LNVHOHSW-AdOd dOL Oz1 SGHOOSY HNOA HOS AdOO SIHL NIVLSY 611 (WAHONOA LIGAHD JI LNAW3SYHDV LNVHOWSW) Sh INAWSSYOV YANSSI GYVO OL DNIGHOOOV vant LNNOWV IWLOL SAO@SV AVd OL Saud | cya AINO HLNV - GSYINOAY LON Sit x vil

FYNLYNDIS Ell

INVHOYSWN ZL dx3 # LNNOOOV LLL

WLOL Olt

OSIW/dIL ~~ @gasn ayuvo 601

XVL LIG3d 4! SNIMOSHO 801

7 WLOLENS (OL) NOUS HAaSSNVYL LOL 901

LWV NOlLdlwoOSad NYNO Sol #01 YO ALVLS/#OIT SWIL v0! MYa10 Alva COL

INAWSSYNESIC YO JONVAGV HSvVO ZOL YAHONOA LIGSYHO LOL

L4Vud S31vVS 0OL

‘OVE ONd

PUP OEE ONd 84) Ul e/ge/ieAk jou ese yz} YOnoJsY} OO} sidwosd pexis :e}0N PesniON 66-S6

3SN3Z0N SH3AING v6

YASWNN vias 66

YAgWNN YNVa 26

Y3LNA SS3Yd-CIOA 16

GIOA 06

LINSNYLL 1490NSNN 68

é HOLVG UNSNVHLL 88

“LNNOO NVYL Z8

TVAA31 WLOL 98

INNOWY WLOL $8

Ga1ld300V LSMOLL 78

NOA MNVHL €8 a3.131730 # 4¥adns 28

GADNVHO # HadNs fe)

921 YuBnosy) 18 Wdwold pexi4 epog =e. s}dwiolg pexi4 sejqe) sidwoig pexij ‘4 xipueddy

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

TCL Programmer’s Manual

Alphabetical List

Fixed Prompt Code # AMT 124 (MERCHANT AGREEMENT IF CREDIT VOUCHER) 118 ...PRESS ENTER 126 ACCORDING TO CARD ISSUER AGREEMENT 117 ACCOUNT # EXP 111 AMOUNT OF CREDIT 11 AMOUNT OF SALE 3 BAD TRAN CODE 12 BALANCED OK 13 BALANCING REPORT 121 BANK NUMBER 92 BATCH CLEARED 14 BATCH IS FULL 15 BATCH PURGED 16 BATCH RETAINED 17 BIRTHDATE MMDDYY (month, day, year) 9 CANNOT CORRECT 18 CAPTURE COMPLETE 19 CARD EXPIRED 20 CARD USED TIP/MISC__ 109 CASH ADVANCE OR DISBURSEMENT 102 CHECKING IF DEBIT TAX___ 108 CONFIRM 0=Y 1=N 21 CONT.BATCH? Y/N 22 CREDIT VOUCHER 101 DATE CLERK 103 DATE TIME 122 DELETE BATCH? 23 DEP? PRESS ENTER 24 DEPOSIT AMT NEXT 25 DISP=0 PRINT=1 26 DRIVERS LICENSE 94