I am totally new at AS400 & RPG programming, and I wanted to make a prog that takes a file from PC and transfer it to AS400 ... I had help for this first part and it works perfectly, but now I want to update the file I get from the PC it and send it back to the PC. I used "CPYTOSTMF" in a CL which works perfectly, but when I try to use "F<name of the file> UF E DISK" with the file I used as input in the other prog, it says that the file is not defined for update... How can I do? It must be simple but I cannot manage to find documentation on RPG programming on AS400...
Thank you!
Thank you!