425 pts.
 CA and CF keywords
Whats the exact diff between CA and CF keywords, and how the system handles the difference between them? If possible please explain it with an example.

Software/Hardware used:
Iseries
ASKED: December 2, 2009  9:31 AM
UPDATED: December 2, 2009  2:09 PM

Answer Wiki:
The CA function keys only return to the program the fact the the indicator is *ON. No other information is returned. The CF function keys also return any input information
Last Wiki Answer Submitted:  December 2, 2009  1:43 pm  by  CharlieBrowne   32,855 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,855 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

If possible please explain it with an example.
If I have
A CF03(03 ‘Exit’)
A CA12(12 ‘Cancel’)

whats the diff when I pressed 03 and 12 indicators, how the program handles them.. what is going to be returned to the program.

 425 pts.

 

when you do F12, the only thing returned to the program is *IN12 = *ON
when you do a F3, the whole input buffer is returned. That means all input field values will be returned so you can use them for procesing.

 32,855 pts.