VARPOSIT used to return the internal position in the data record for the start of the variable data. This should be meaningless to the pql programmer. The function now returns the variable's ordinal in the record definition.
program write [VARPOSIT(1,"GENDER")] end program