If you are working on learning RPG - I would stick with that for now. However, if the file is being created in QTEMP, you should be able to have another command create the LF you need. Then use an OVRDBF command to point the program at the correct LF. I would avoid OPNQRYF - Embedded SQL is more flexible. But learn the RPG/CL basics first. If you need more specific coding examples, I can help you out. Just post some more detailed info on your app. Take care, Kevin

Reply With Quote