5 pts.
 Using RPGLE indicators
How can use i use indicators for hide the fields and lables in the display file.

Software/Hardware used:
ASKED: February 18, 2009  12:32 PM
UPDATED: February 18, 2009  2:20 PM

Answer Wiki:
Hi, In the display file, using SDA, condition the fields with the indicators - you can do this by typing a * in front of the field and pressing enter, then select "display attributes", you can condition the field completely by giving an indicator for "field conditioning", or you can specify individual field attributes for example "non display", by keying a Y and giving it an indicator. In your RPG program simply set the indicator on or off just before you display your display file record. Regards, Martin Gilbert. ----------------------------------------------------- Here are some code examples. In this example the field FLD1 is visible when indicator 74 is *off - the 'N' is not, as in Not Indicator 74. A N74 FLD1 4 0B 7 46 Here it would be shown when Indicator 74 is on A 74 FLD2 4 0B 7 46 FLD3 is always shown but it is protected if inicators 65 or 32 or 33 or 34 are on. A FLD3 9Y 0B 8 34EDTCDE(K) A 65 AO 32 AO 33 AO 34 DSPATR(PR) Things are different for subfile fields Phil
Last Wiki Answer Submitted:  February 18, 2009  2:20 pm  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _