IBMi (AS400) fans only ' Minimalist Subfile with filter fields
#IBMiSample First of all look at this post and compile and populate these files to use this example. Then compile the two following soures, OT08SF displayfile, OT08SF sqlrpg file. OT08SFV.DSPF CHGINPDFT(CS UL HI) INDARA CA03(03 'F3=EXIT') REF(OTORD00F) *-------------------------------------------------------------- R SFL1 SFL *-------------------------------------------------------------- S1OPT 1A B 6 2 S1ANN0 R +3REFFLD(OTANN0) S1COR0 R + 1REFFLD(OTCOR0) EDTCDE(Z) S1NOM0 R + 1REFFLD(CLANA/CLNOM0 CLANA00F) *-------------------------------------------------------------- R FMT01 SFLCTL(SFL1)