I'm not fully understanding how TBADD and TBSORT work. I created and loaded a table, only to find when I processed the table that it was in the reverse sequence of the order in which I loaded it. I added a "colno" key to the previous key (before it), and issued a TBSORT in my program. The order is alphabetically correct, but not numerically, i.e., "1, 10, 11, 12, 13, 14, ..., 19, 2, 20, 21...".
Is there a way to declare a variable numeric? Or a way to persuade TBADD to add AFTER the current position (that's how I thought it worked!).
Thanks!
Is there a way to declare a variable numeric? Or a way to persuade TBADD to add AFTER the current position (that's how I thought it worked!).
Thanks!