despite checking the posting prior to submission, there was a typo:
@wholefile = <F>; # the variable @wholefile will contain either 7 or Z should of course read @wholefile = <F>; # the variable @wholefile will not contain either 7 or Z apologies for the noise. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
