|
Salutations, I have a product master file (P701). I had to write the online maintenance in such a way that when the DP clerk selects product maintenance they are prompted as to which vendor they wish to do maintenance on. So only those products with that particular vendor code are accessible through maintenance. I created two logicals utilizing the select. One for each vendor. I know I can do it with BLDQRYSLT, but I prefer to try to utilize OVRDBF in my CLP. I have only been programming for a year. I am self taught and I want to get a better grasp on this OVRDBF. My boss allows me to learn everything I can, to try new approaches whenever possible, and get exposure on all that RPG, CL, and SQL has to offer. (RPGIV is coming soon). That is why I am choosing OVRDBF (if it is possible). My question is (because my boss is on vacation) what do my Fspecs need to look like? I have looked in all the manuals and infoseeker but I can't find this info. I am thinking my CL should be: OVRDBF (PFILE) TO (VENDOR CODE SPECIFIC LFILE) Should my Fspecs contain only the PFILE (update) or do I need the LFILE's(input) in there also? Am I even close with this? Am I wrong in thinking that it can be done this way? Thank you in advance for any info or insight you can shed on this matter. LAC +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.