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: email@example.com +---END
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.