|
Carl no its not a limitation of the language. I have used Primary/secondary Matching record programs a fair bit and still use them where its the best solution. I asked that all L1 fields were the same, this also applies to L2 and L3 (which will also cause L1 to be on). Incidentally, I don't use MR at all. The only difference I see between your version & what I have used is that you have M6 level but with no level break indicator against them. I assume this is ok since the compiler would have thrown it out. As mentioned earlier, its best to rename one set of fields to be the same as the other file fields. Unfortunately I cannot quite see what is the problem.... Mike -----Original Message----- From: "Mañoso, Carl" [mailto:ManosoCS@xxxxxxxxxxxxxxxxx] Sent: 08 April 2005 02:37 To: 'RPG programming on the AS400 / iSeries' Subject: RE: primary and secondary files, match fields, summarizing/printi ng single line per key Mike, Sudha, Rick, Thank you for answering. I'm sorry if my replies are coming in late. I'm in a GMT+8 time zone. I can say for certain (using the interactive debugger) that all the control fields have the same value, and *INL1 is triggered twice every time, once for the primary and another time for the secondary. I also tried Rick's suggestion of using the MR indicator, but the result is the same. Is this perhaps a limitation of the language? And can't be done without the use of an extract file as Mike suggested? -- Carl Mañoso "It is not real work unless you would rather be doing something else." [J.M.BARRIE] ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ********************************************************************** This communication and the information it contains: - (a) Is intended for the person(s) or organisation(s) named above and for no other person(s) or organisation(s). Access to this mail by anyone else is unauthorised. (b) Is confidential, and may be legally privileged or otherwise protected in law. Unauthorised use, circulation, copying or disclosure of any part of this communication may be unlawful. (c) May be susceptible to interference, and should not be assumed that it has come in its original form and/or from the stated sender or PinkRoccade UK accepts no responsibility for information, errors or omissions in this e-mail or use or misuse thereof or any act done or omitted to be done in connection with this communication. If you are not the intended recipient, please inform postmaster@xxxxxxxxxxxxxxxxx immediately and delete it and all copies from your system. www.pinkroccade.co.uk **********************************************************************
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.