Dealing with alphanumeric card types
Quick reference
For multicard records only, to define the location in the C array of cards with alphanumeric card types, type:
struct; order=card_types
where card_types is a list of card type numbers and letters in the order they are to appear in the C array.
More information
You might need to read in records with alphabetic as well as numeric card types. This generally happens in a multicard data set containing more than nine cards per record where only one column has been allocated to the card type.
Quantum can deal with this data, but first you have to say where in the C array the alphabetic card types should go. This is done with the keyword:
order=n
where n is one or more of the codes 1234567890–& or the letters A to Z (in upper or lower case) not separated by spaces.
The card type bearing the first number in the list is read into c(101,200), the card bearing the second code in the list is read into c(201,300), and so on. For example, suppose each record has ten cards — 1 to 9 and A — the struct statement might say:
struct;read=2;ser=c(1,4);crd=c5;max=10;order=123456789A
Data from card A would be read into cells 1001 to 1100 of the C array.
See also