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 12 of 15

TRANZ 380 Reference Manual, pages 111 to 120

Pages 111 to 120 of 148

The original document is the PDF (5.0 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 380

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

Appendix D. Enhanced TCL Commands

To accommodate some of the TRANZ 380’s features, the following TCL commands have been enhanced. Use this appendix in conjunction with the TCL Programmer's Manual.

TCL Command See Page

VAFIADICS ee cecccccsceecsessesesscscsscsessvecsssseesssevesstssvassseveveeversetaceceeces D-2 Cardreader

Command E _ Input from Cardreader or Keypad 00... cccseseeeeeenes D-2

Command M_ Input from Cardreader Only.........c.ccccccccsesscssessessesseseeees D-4 Clock

Command J Append Clock Data to Destination Buffer ............00.-. D-5 Communication

Command +U_ Set DIN 6 Communication Parameters ......ccccccccccccccces- D-6

Command *T Specify Communications Timeout ........ccccccccscceccoseceecees D-7 Memory

Command *S Verify Memory Available .....0.0..0.0.cccccceccccesesesesceeeeeese D-8

Command *Z Calculate Free Bytes oo... cccccccscscsesesssvsscceceveeee D-8 Batch Operations

Command *A Open New Bath oo... ccccccccccccccsesscstsseseesesesessesesveeseees D-9

Command *B Select Batch for Read OperationS...........ccccccccsccssecssscees D-11

Command *C Copy Destination Buffer to Batch ......0.ccccccccsecsssesesscesee D-14

Command *D Delete Batch, Records or Headers .o....ccccccccccecccceccesees D-17

Command *E Append Batch Detail to Destination Buffer................... D-21

Command +G Append Detail Record into Batch .......ccccccccccccscecccecess D-24 Miscellaneous

Command +B Calculate Block Character Check (BCC) oo. ecceee D-28

Command +V_ Append Signon Message to Buffer ..........ccccccssceccscesesee D-28

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

Variables

Cardreader

TRANZ 380 Reference Manual

The TRANZ 380 supports 100 variables, as opposed to its predecessor, the TRANZ 330, which supports 10.

Variables may be used in a variety of ways - as counters, pointers to memory locations, ASCII code values or flags. You may use a variable as a parameter in any command that accepts a numeric value, and each variable has a possible value of 0O-65535.

You can specify up to 100 variables for each transaction, numbering them 00 through 99. To designate a variable, precede the variable number with the pound (#) sign (#00, #01, #02, #03....499). For example:

1. *N#02.113 ; Set variable #02 to 113

A#02 ; Append memory location pointed to by variable #02

2. *N#30.61 ; Set variable 30 to 61 (ASCII code for "=" R#30 ; Append the equal (=) sign to the destination buffer

Note: The leading zero in variables #00-#09 is not required (#0 = #00).

Command E

The TRANZ 380 has a dual track cardreader which reads IATA Track 1, ABA Track 2 and ATM Track 3. It is possible to simultaneously read Tracks 1 and 2, or Tracks 2 and 3. It is also possible to read only a single track at a time, thus facilitating VISA fraud control features when software is written for either Track 1 or 2.

Input from Cardreader or Keypad

This causes the terminal to accept input from either the cardreader or the keypad, automatically places a field separator after the data entry (except when input type flag 4 is selected), and appends the data to the destination buffer. The terminal checks to see if the account number is greater in length than 0 and less than 128 before copying to the destination buffer.

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

Format

Parameters

Appendix D. Enhanced TCL Commands

Es; .a1.j.S2.i.$3.a2.¢

Default Parameter Value

Description

$1 ai

S2

$3

60

Optional; number of commands to skip when input is from the cardreader.

Optional; the input type flag; identifies the type of editing criteria to be applied when data entry is from the keypad.

Options

0 = Alphanumeric

1 = Alphanumeric

2 = Numeric

3 = Alphanumeric

4 = Amount; the decimal is added automatically; the default field length is 10 characters with a maximum length of 15

5 = Alphanumeric with hidden entry (displays asterisks)

6 = Numeric with hidden entry (displays asterisks)

7 = Alphanumeric with hidden password entry (displays asterisks instead of the password, and the entry is verified against the system password)

Optional; maximum number of input characters the terminal will accept from the keypad

Optional; the number of commands to skip after a NULL entry from the keypad. NULL entry occurs when you press [FUNC/ENTER] without entering data. Only valid for keyboard entry.

Optional; minimum number of input characters from the keypad. Only valid for keyboard entry.

Number of commands to skip if three bad card reads

Note: When reading two tracks, if one track contains an error or is not read properly, the terminal puts an error code in the destination buffer instead of the track information. The correctly read track will also be placed in the destination buffer, and the two tracks will be separated by the track separator. Errors are displayed as ,A - ,E on the terminal and as 0 - 5 in the destination buffer.

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

Command M

Format

Parameters

TRANZ 380 Reference Manual

Default

Parameter Value Description a2 0 Track Selection Options 0 = Track 2 1 = Track 1 2 = Tracks 1 and 2 3 = Track 3 4 = Tracks 2 and 3

Cc 29 Track separator

Input from Cardreader Only

This causes the terminal to accept input from the cardreader only, to place a field separator after the data entry, and append the data to the destination buffer. When this command is used, there is no input type or data length restriction. If the user presses a key, the terminal beeps, displays CARD ENTRY ONLY for three seconds and returns to the idle prompt.

Ms.a.c

Default Parameter Value

Description s 0 a 0 c 29

Number of commands to skip if three bad card reads

Note: When reading two tracks, if one track contains an error or is not read properly, the terminal puts an error code in the destination buffer instead of the track information. The correctly read track will also be placed in the destination buffer, and the two tracks will be separated by the track separator. Errors are displayed as ,A - ,E on the terminal and as 0 - 5 in the destination buffer.

Track Selection Options

0 = Track 2 1 = Track 1 2 = Tracks 1 and 2 3 = Track 3

4 = Tracks 2 and 3

Track separator

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

Clock

Appendix D. Enhanced TCL Commands

Command J

Format

Parameters

Clock Data Table

With the J command, you can program the clock data to suit your needs. Note that the clock can be set to either a 12- or 24-hour format.

Append Clock Data to Destination Buffer

This appends clock data to the destination buffer and allows you to set the real-time clock chip using data from the destination buffer or to read clock data from the clock chip.

Jn

Default

Parameter Value Description n None Required; the parameter is either the number 1 or a command string. See the following text.

Enter a "1" to set the real-time clock chip to the time specified in the destination buffer. The format of the destination buffer is: WYYMMDDHHMMSS

W day of week (0 = Sunday, 1 = Monday, 2 = Tuesday, etc.) YY year (19YY)

MM month (01 = January, 02 = February, 03 = March, etc.) DD day of the month (01 through 31)

HH hour (24-hour clock; 1 p.m. = 13)

MM _ minutes (00 through 59)

SS seconds (00 through 59)

To append clock data to the destination buffer, enter a command string specifying the format of the data to be read from the calendar/clock chip. The string must be enclosed in single quotes and may contain letters, spaces, symbols and numbers. All characters in the string are literal and will be displayed exactly as written, except for the letters which are replaced by clock data according to the “Clock Data Table."

Code Clock Data Examples A 2-digit year 1991 = 91’ B 2-digit month July = ‘07’ C 2-digit date 1 through 31 D 2-digit hours, 12-hour clock 10am. ='10' 1 p.m. = ’01’ E 2-digit minutes 00 through 59 F 2-digit seconds 00 through 59 G AorP a.m. =A’ p.m. = ’P’ (12-hour clock) H 4-digit year 1991 = '1991’ | 3-letter month January = ‘JAN’ J Full month January = ‘JANUARY’

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

Communication

TRANZ 380 Reference Manual

Code Clock Data Examples K 2-digit hours, 24-hour clock Tam. ='01' 1 p.m. = ‘13’ L 3-letter day Monday = ’MON’ M ’M’ Adds 'M’ to a.m. and p.m. (12-hour clock) N Full day Monday = MONDAY’ oO : Colon for time (8:30 14:22:13) P = Equal sign instead of colon

(8=30 14=22=13) Numeric day Sunday = '0’ Monday = '1’ Tuesday = '2’ Allow leading zeros 01 JAN 91 Suppress leading zeros 1 JAN 91 "Blinking" colon (for the idle time display) Append next character

Cc ANDO

Command +U

Format

Parameters

The +U command has been changed to reflect the added baud rates of 4800 and 9600.

Set DIN 6 Communication Parameters This command sets the data speed (baud rate) and format of the DIN 6 port.

Note: Be sure to select "General Communication Device" for the DIN 6 peripheral in memory location 0970.

+Ua1.a2

Default Parameter Value Description ai 0 Optional; baud rate 0 = 300 (set to 1200 baud on abort) 1 = 600 2 = 1200 3 = 2400 4 = 4800 5 = 9600 a2 0 Optional; data format 0 = no change (set to 7E1, pass 7 on abort) 1 = set 7E1, pass 7 bits 2 = set 8N1, pass 7 bits 3 = set 8N1, pass 8 bits

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

Appendix D. Enhanced TCL Commands

Command*T Specify Communications Timeouts

This command sets the length of various communications timeout periods for dial terminals only. This command operates in conjunction with the current transaction. Once the terminal returns to the idle state, all values return to the default.

Version Dependency ‘The "a" parameter is only available on EPROM version 1.10 or greater. Format = *T ty.te.ts.ts.ts.a

Parameters Default Parameter Value Description ty 0 Optional; carrier detect timeout period. Timeout period begins when the terminal finishes dialing and ends when the terminal detects a carrier tone. You may specify a timeout period of 1 to 65 seconds: a 0 or blank leaves the value as is.

ta 30 secs Optional; ENQ timeout period. Timeout period begins when the terminal detects a carrier tone and ends when it detects an ENQ. You may specify a timeout period of 1 to 255 seconds; a 0 or blank leaves the value as is.

tg 45 secs Optional; response packet timeout period. Timeout period begins when the request packet is sent and ends when the terminal receives the complete response packet. You may specify a timeout period of 1 to 255 seconds; a 0 or blank leaves the value as is.

ta 1 timeout Optional; the number of response periods allowed period before the terminal hangs up. When the response timeout period is reached, the unit decrements this count, sends an ENQ and waits for a response. If the count reaches zero, the terminal will hang up. The default value for this parameter is 1.

ts 2 secs Optional; End Of Text (EOT) timeout period. Timeout period begins when the terminal receives the response packet and ends when the terminal receives the EOT. You may specify a timeout period of 1 to 255 seconds: a 0 or blank leaves the value as is.

a 0 End Of Text (EOT) Enable/Disable. 0 = No change to previous setting 1 = Enable EOT timeout 2 = Disable EOT timeout

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

TRANZ 380 Reference Manual

Memory

The TCL commands *S and *Z have been modified to include Program and Batch memory options, which are only used for custom applications.

Command *S Verify Memory Available

Use the *S command to ensure you have the required amount of memory. If the number of available bytes is greater than the "n" parameter, the terminal will skip "s" number of commands.

If you are creating a custom application and wish to use Program memory, use Option "0"; if you wish to use Batch memory, use Option "1". If you are not creating a custom application, these parameters do not need to be defined.

Version Dependency _‘ The "a" parameter is only available on EPROM version 1.10 or greater.

Format *Ss.n.a

Parameters Default

Parameter Value Description s 0 Optional; the number of commands to skip when more than number of bytes specified in "n" are available.

n 0 Optional; the number of free bytes required. The terminal will check to see if the number of required bytes is available.

a 0 Optional; select which type of memory to verity space availability.

Options

0 = Program Memory 1 = Batch Memory

Command *Z_ Calculate Free Bytes

The *Z command calculates the number of free bytes left in RAM and appends the number to the destination buffer. This command has been changed by adding the parameter "a".

Version Dependency _‘The "a" parameter is only available on EPROM version 1.10 or greater.

Format *Zq Parameters Default Parameter Value Description a 0 Optional; select which type of memory you would like to calculate the number of free bytes left in. Options

0 = Program Memory 1 = Batch Memory

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

Batch Operations

Appendix D. Enhanced TCL Commands

Command *A

Version Dependency

Format

Parameters

Execution Details Condition Outcome

TCL End Result

The following TCL commands have been enhanced to better program the TRANZ 380. Many of the commands have added the option of specifying the number of commands to skip if an operation is successful. A new batch search option is also available with the *E command. This option significantly shortens the time to locate a record within a batch.

For this section alone, Batch Operations, the execution details have been included to illustrate the specific command conditions, their outcome and the results that TCL creates. After each command's parameters, you will notice these heads: Execution Details, Condition, Outcome and TCL End Result. For those of our customers who are familiar with the command outcome for TRANZ 330 terminals, we have provided the command outcome for both the TRANZ 330 and TRANZ 380 when they differ; you will see TRANZ 380 only and TRANZ 330 only to help you differentiate the two. If there is more than one condition for a command, they are separated by a horizontal line. Parameters with multiple values (such as *BO and *B1) are also separated by a horizontal line.

Open New Batch

This command opens, or creates, a new batch and uses the data in the destination buffer as the batch header. If the destination buffer is empty or if the header of the current batch matches the header in the destination buffer, the current batch remains open and no change is made. When the header of the current batch does not match the header in the destination buffer, the current batch will automatically close and a new batch will be opened.

Note: For additional information on error conditions, see command *F in the TCL Programmer's Manual.

The "s" parameter is only available on EPROM version 1.10 or greater.

*AsS

Default Parameter Value Description s 0 Optional; the number of commands to skip if the operation is successful. *A Open New Batch Batch does not already exist and batch name is specified. Successful, batch created with the specified name. Reponse Code: 0

Batch Pointer: Batch just created Detail Pointer: First record

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

Condition Outcome

TCL End Result

TRANZ 380 Reference Manual

Batch name not specified. Successful, select the youngest batch. Response Code: 0

Batch Pointer: Batch just selected Detail Pointer: First record

Condition Outcome

TCL End Result

Batch already exists and is the youngest batch. Successful, select the youngest batch. Response Code: 0

Batch Pointer: Batch just selected Detail Pointer: First record

Condition

Outcome

TCL End Result

Outcome

TCL End Result

Batch already exists and is not the youngest batch.

TRANZ 380 Only: Successful, select the youngest batch. Response Code: 0

Batch Pointer: Batch just selected Detail Pointer: First record

TRANZ 330 Only: Failure, no action taken. Response Code: 2

Batch Pointer: Not affected Detail Pointer: Not affected

Condition Outcome

TCL End Result

Data capture memory is empty and batch name not specified.

Failure, no action taken.

Response Code: 2 Batch Pointer: Not affected Detail Pointer: Not affected

Condition

Outcome

Not enough room in memory.

Failure, no action taken.

Response Code: 1 Batch Pointer: Not affected Detail Pointer: Not affected