The text of a manual · part 13 of 15
TRANZ 380 Reference Manual, pages 121 to 130
Pages 121 to 130 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 121
Command *B
Version Dependency
Format
Parameters
Execution Details
Condition Outcome
TCL End Result
Appendix D. Enhanced TCL Commands
Select Batch for Read Operations
This command selects a batch for data capture operations, such as the *E (Extract) or *D (Delete) commands. For example, before you can read/delete a record or delete a batch, you must select it using the *B command.
The "s" parameter is only available on EPROM version 1.10 or greater.
*Ba.s
Default Parameter Value Description a 0 Optional; code to indicate batch for read operation Options, select the: 0 = Current (youngest) batch 1 = Oldest batch 2 = Next batch - batch immediately following the one pointed to by batch pointer 3 = Batch with header record matching the contents of the destination buffer s 0 Optional; number of commands to skip if the operation is successful. *BO Select Youngest Batch
At least one batch exists. Successful, youngest batch selected. Response Code: 0
Batch Pointer: Youngest batch Detail Pointer: First record
Condition Outcome
TCL End Result
Data capture memory is empty. Failure, no action taken.
Response Code: 2 Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
*B1 Select Oldest Batch At least one batch exists. Successful, oldest batch selected.
Response Code: 0 Batch Pointer: Oldest batch Detail Pointer: First record
Page 122
Condition Outcome
TCL End Result
TRANZ 380 Reference Manual
Data capture memory is empty. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
*B2 Select Next Batch
Batch pointer is pointing to a batch other than the last batch. Successful, next batch selected.
Response Code: 0
Batch Pointer: Selected batch Detail Pointer: First record
Condition Condition
TCL End Result
Data capture memory is empty. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
No batch selected. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Already pointing to last batch. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
D-12
Page 123
Condition Outcome
CL End Result
Appendix D. Enhanced TCL Commands
*B3 Select Specified Batch
Batch is specified and it exists.
Successful, specified batch selected.
Response Code: 0 Batch Pointer: Specified batch Detail Pointer: First record
Condition Outcome
TCL End Result
Data capture memory is empty. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Batch name not specified. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Data capture memory has no matching batch.
Failure, no action taken.
Response Code: 2 Batch Pointer: Not affected Detail Pointer: Not affected
- 13
Page 124
Command *C
Version Dependency
Format
Parameters
Execution Details Condition Outcome
TCL End Result
TRANZ 380 Reference Manual
Copy Destination Buffer to Batch
This command copies the contents of the destination buffer to the open batch.
Note: This command can only be used to add a record to the latest opened batch. Use the +G command for record addition to older batches (see page D-24). The *C command can replace a detail record of the same length in an older batch.
The "s" parameter is only available on EPROM version 1.10 or greater.
*Ca.s
Default Parameter Value Description a 0 Optional; select one of the following values Options 0 = Copy destination buffer to the end of the open batch 1 = Replace the current detail record with the contents of the destination buffer s 6) Optional; number of commands to skip if the operation is successful. *CO Copy Destination Buffer to End of the Open Batch Batch exists. Successful, record is appended. Response Code: 0
Batch Pointer: Not affected Detail Pointer: Record just appended
Condition Outcome
TCL End Result
Not enough memory. Failure, no action taken. Response Code: 1
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Data capture memory is empty. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Page 125
Condition Outcome
TCL End Result
Appendix D. Enhanced TCL Commands
*C1 Replace Selected Record with Contents of Destination Buffer New record is the same size as selected record.
Successful, selected record is replaced with new record.
Response Code: 0
Batch Pointer: Not affected Detail Pointer: | Record just written
Condition
Outcome
TCL End Result
Outcome
TCL End Result
New record is not the same size as selected record.
TRANZ 380 only: Successful, selected record is replaced with new record. Response Code: 0
Batch Pointer: Not affected Detail Pointer: | Record just written
TRANZ 330 only: Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
Condition
Outcome
TCL End Result
Outcome
TCL End Result
New record is blank.
TRANZ 380 only: Successful, selected record is replaced with new record. Response Code: 0
Batch Pointer: Not affected Detail Pointer: Record just written
TRANZ 330 only: Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
Page 126
Condition Outcome
TCL End Result
TRANZ 380 Reference Manual
Batch not selected. Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
Condition
Outcome
TCL End Result
Outcome
TCL End Result
Batch is empty.
TRANZ 380 only: Successful, record is appended to batch. Response Code: 0
Batch Pointer: Current batch Detail Pointer: Record just appended
TRANZ 330 only: Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Data capture memory is empty. Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
D-16
Page 127
Command #D
Version Dependency
Format
Parameters
Execution Details Condition Outcome
TCL End Result
Appendix D. Enhanced TCL Commands
Delete Batch, Records or Headers
This command will delete all or selected detail records, batches and batch headers from the data capture memory specified by the "a" parameter. Before using the *D command, you must select a batch using the *B command.
The "s" parameter is only available on EPROM version 1.10 or greater. *Da.s
Default
Parameter Value Description a 0 Optional; data capture item to be deleted 0 = Selected batch and batch header 1 = All detail records for selected batch 2 = All batches and detail records 3 = Selected detail record from any batch Ss 0 Optional; number of commands to skip if the operation is successful.
*DO Delete Selected Batch and Batch Header Last (youngest) batch selected.
The selected batch is deleted.
Response Code: 0
Batch Pointer: NULL Detail Pointer; NULL
Condition
Outcome
TCL End Result
Outcome
TCL End Result
Selected batch is not the last batch.
TRANZ 380 only: Successful, the selected batch is deleted. Response Code: 0
Batch Pointer: Batch following the batch just deleted Detail Pointer: First record of selected batch
TRANZ 330 only: Successful, the selected batch is deleted. Response Code: 0
Batch Pointer: NULL Detail Pointer; NULL
Page 128
Condition Outcome
TCL End Result
TRANZ 380 Reference Manual
Data capture memory empty.
Failure, no action taken.
Response Code: 2 Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Batch not selected. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
*D1 Delete All Details for Selected Batch
Batch selected.
Successful, all details within the selected batch are deleted. Response Code: 0
Batch Pointer: Not affected Detail Pointer; NULL
Condition
Outcome
TCL End Result
Data capture memory empty. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Batch not selected. Failure, no action taken. Response Code: 2
Batch Pointer: Not affected Detail Pointer: Not affected
Page 129
Condition Outcome
TCL End Result
Appendix D. Enhanced TCL Commands
*D2 Delete All Batches and Detail Records Any condition.
Always successful, all data capture memory deleted. Response Code: 0
Batch Pointer: NULL Detail Pointer: NULL
Condition Outcome
TCL End Result
*D3 Delete Selected Detail Record from Any Batch The record to delete is not the first record.
Successful, the selected detail is deleted.
Response Code: 0
Batch Pointer: Not affected Detail Pointer: The record in front of the one that was just deleted
Condition
Outcome
TCL End Result
Outcome
TCL End Result
The record to delete is the first record.
TRANZ 380 only: Successful, the selected detail (first record) is deleted. Response Code: 0
Batch Pointer: Not affected Detail Pointer: The new first record
TRANZ 330 only: Successful, the selected detail (first record) is deleted. Response Code: 0
Batch Pointer: Not affected Detail Pointer: The batch name
Condition
Outcome
Outcome
TCL End Result
The detail pointer points to the batch name.
TRANZ 380 only:
Not applicable - this condition cannot occur with the TRANZ 380. TRANZ 330 only:
Failure, no action taken.
Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
Page 130
Condition Outcome
TCL End Result
TRANZ 380 Reference Manual
Data capture memory is empty. Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
Batch not selected. Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected
Condition Outcome
TCL End Result
No detail in batch. Failure, no action taken. Response Code: 3
Batch Pointer: Not affected Detail Pointer: Not affected