Examples of all operation codes are in the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books/sc092508.pdf">ILE RPG Reference manual</a>. That's where we look up every question like this.
I use this routine for lookup requests on entry fields. The program called is a popup window of valid entries.
d POS S 3 0
C EVAL POS = %SCAN('?': ECUST )
C IF POS <> 0
c call 'RVEH600W7'
C PARM ECUST
Last Wiki Answer Submitted: July 31, 2010 11:00 am by Modiyooch540 pts.