Hi,
just a silly question... I have a display file showing:
1) Order Number (Input field)
2) Customer Code (Output Field)
3) Customer Name (Output Field)
4) Operator Code (Input field)
On field 1 I have indicator 50 with errmsg keyword if invalid order is keyed.
On field 4 I have indicator 51 with errmsg keyword if invalid Operator is keyed.
If no error is found on field 1 I want Field 2 and 3 populated and shown on display EVEN IF an error occurs on filed 4.
BUT if an error occurs in filed 4 fields 2 and 3 are not shown, but in debug mode I can see my RPG program populating them correctly.
I've found out that I can do a WRITE operation setting off all error indicators, then setting them back on and than perform an EXFMT. This works but looks "dirty".
Is there a keyword in dds to say the display to show ALL th output fields with their actual value whatever error indicator is set on ??
Thanks a lot....
just a silly question... I have a display file showing:
1) Order Number (Input field)
2) Customer Code (Output Field)
3) Customer Name (Output Field)
4) Operator Code (Input field)
On field 1 I have indicator 50 with errmsg keyword if invalid order is keyed.
On field 4 I have indicator 51 with errmsg keyword if invalid Operator is keyed.
If no error is found on field 1 I want Field 2 and 3 populated and shown on display EVEN IF an error occurs on filed 4.
BUT if an error occurs in filed 4 fields 2 and 3 are not shown, but in debug mode I can see my RPG program populating them correctly.
I've found out that I can do a WRITE operation setting off all error indicators, then setting them back on and than perform an EXFMT. This works but looks "dirty".
Is there a keyword in dds to say the display to show ALL th output fields with their actual value whatever error indicator is set on ??
Thanks a lot....





Comment