Actually, it just occurred to me what you're trying to do: SET CENTURY to the century of the current date. Try this:
SET CENT TO VAL(LEFT(ALLT(STR(YEAR(DATE()))), 2))-Works great for me!
Mark
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.