vocalisa Beginner
Joined: 11 Oct 2004 Posts: 1 Topics: 1
|
Posted: Mon Oct 11, 2004 11:46 am Post subject: easytrieve, "put" statement fails to change output |
|
|
Easytrieve frustrates me with what should be a simple file processing function. If I want to write data to a new file with some fields changed from what they were on the input file, I often get stuck in this situation:
It appears that the input record is copied to a buffer and the bufferized data will keep a change that I make, referencing the input field names, because I can see the report contains the altered data, but the output file will revert back to the original input. I have tried differing combinations of put and move statements but I can't get it to work. I'm using automatic input and I'm trying to avoid setting up separate interim working storage fileds for the record. I've also tried referencing the field names in the output file, to no avail. In the manual I've seen a description of data access modes, local and move(?). |
|