• Subject: SETLL after OPNQRYF
  • From: Buzz Fenner <bfenner@xxxxxxxxxxxxxxxx>
  • Date: Fri, 30 Jul 1999 12:14:46 -0500
  • Organization: City Water & Light

Hi all,

I have a logical file keyed by Key1/Key2.  I do an OPNQRYF to extract 
certain values of Key2 and order the file KEYFLD((KEY1) (KEY2)).  In an RPG 
IV program, I execute a SETLL on the file using Key1.  The equal indicator 
(position 3) is not being set on, although I know that the key value 
exists.  Removing Key2 from the KEYFLD parm causes the SETLL to work. 
 Also, using SETLL without an OPNQRYF preceding the RPG program will work. 
 What relationship between the program and the command is causing this to 
happen?  Any theories/facts?  Thanks.


Buzz Fenner
bfennerNS@jonesborocwl.org
Remove NS to reply

+---
| 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
+---END



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].