Blockcode was originally a string value so I changed it to a
numerical value using the ALTER TYPE command (ALTER TYPE blockcode
(f8.2)).
Then obviously you have to adapt
line 39 IF (blockcode = 'A' ) Pairing = 1.
line 40 IF (blockcode = 'B' ) Pairing = 2.
to account for that change. In the above blockcode is expected to be a string variable.
For questions regarding SPSS usage, please refer to the support resources provided by its vendor.