hi all,
suppose i have a report with input criteria 'machine code' and requirement it that if i input a perticular 'machine code' then it should COME only that , otherwise all records of all 'machine codes' should come , in clp i use %WLDCRD for that.
but i need to do it in rpgile , is there any way to do it ?????
please tell me..
thanks & regards
Ambrish Srivastava
Software/Hardware used:
ASKED:
December 10, 2008 5:21 AM
UPDATED:
December 10, 2008 3:44 PM
thats okey but i mean when when i don’t mentin any value there then (suppose ***** is there )then all record should be come..
Martin’s answer asumes that the physical or logical is keyed on the field in question.
Upstream of this program passed as a parameter or in this program provided by a display screen you
get a value to report or ‘*****’ for all so your code woud setll and reade on the value unless it’s ***** then your code would Setll on *LOVAL and read until end of file.
Paste a brief bit of your code in here and we’ll help.