|
Hard to say without seeing the specific code involved, but I might recommend you use the built-in-function %EQUAL to determine if SETLL is working, instead of the HI LO EQ indicators. -----Original Message----- From: simafrog [mailto:SimaFrog@xxxxxxxxxx] Sent: Thursday, March 25, 2004 4:08 PM To: RPG programming on the AS400 / iSeries Subject: SETLL Refuses to work ? I have a standard Order Header and Detail file. Simply, I want to read both by RPG and move fields from each file into a work file and then a second program will print. The header is read and then a key is used to access the information needed from the detail file. The Detail's key is 4 fields. At first I used 2 fields, simply the company and order #, but the Setll ind. will not come on. I have manually verified that there is such a order # in the detail (as header). I then made the search key exactly 4 fields, and even pre-filled correct info for the first found record at least, but nada, I get a blank outout file. It makes no sense. I am at a loss as to how to resolve this. Now I am thinking of reading the Detail first and then simply chaining to the header (since detail has multiples and header only one record). Ok this is perhaps 'clever' but doesn't answer why the problem in the first place. Thank you, Rob400 _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.624 / Virus Database: 401 - Release Date: 3/15/04 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.624 / Virus Database: 401 - Release Date: 3/15/04
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.