IBM 2 Computer Hardware User Manual


 
CCA Release 2.54 CVV_Verify
Parameters
For the definitions of the return_code, reason_code, exit_data_length, and exit_data
parameters, see “Parameters Common to All Verbs” on page 1-11.
rule_array_count
The rule_array_count parameter is a pointer to an integer variable containing
the number of elements in the rule_array variable. The value must be zero,
one, or two for this verb.
rule_array
The rule_array parameter is a pointer to a string variable containing an array of
keywords. The keywords are eight bytes in length, and must be left-justified
and padded on the right with space characters. The rule_array keywords are
shown below:
PAN_data
The PAN_data parameter points to a string variable containing the personal
account number (PAN) data in character format. The PAN is the account
number as defined for the track-2 magnetic-stripe standards. If the PAN-13
keyword is specified in the rule array, 13 characters are processed; if the
PAN-16 keyword is specified in the rule array, 16 characters are processed.
Even if you specify the PAN-13 keyword, the server copies 16 bytes to a work
area. Therefore, ensure that the verb can address 16 bytes of application
storage.
Keyword Meaning
PAN-data length (one, optional)
PAN-13 This keyword specifies that the length of the PAN data is 13
bytes. PAN-13 is the default value.
PAN-16 This keyword specifies that the length of the PAN data is 16
bytes.
CVV length (one, optional)
CVV-1 This keyword specifies the length of the CVV to be verified is
1 character. This is the default value.
CVV-2 This keyword specifies the length of the CVV to be verified is
2 characters.
CVV-3 This keyword specifies the length of the CVV to be verified is
3 characters.
CVV-4 This keyword specifies the length of the CVV to be verified is
4 characters.
CVV-5 This keyword specifies the length of the CVV to be verified is
5 characters.
Chapter 8. Financial Services Support Verbs 8-31