I am trying to get a resident load to work and I have now simplified the script as much as I can, still I get "Field Not Found" in the Resident Load when running it. Please help me understand what is wrong:
You are all quite right in that there is nothing wrong in the script. Your answers made me realize that the problem must sit somewhere else, and that somewhere else was a QUALIFY clause in a preceding load. I didn't realize that once QUALIFY is declared it applies to everything afterwards. An "UNQUALIFY *" fixed the problem. But I wouldn't have figured that out this fast without the help from all of you. Thanks!