How to check true any one radio button using RPGLE program in AS400
0001.90 A 13 3'Warehouse . . . . . .'
0002.00 A WAREHOUSE 2Y 0B 14 9SNGCHCFLD
0002.10 A CHOICE(1 '>W1')
0002.20 A CHOICE(2 '>W2')
this is my DSPF source code, how to check true any one radio button W1 or W2. How to do it?
Expected output enter image description here How to do it?
You need to introduce the
CHCCTL
keyword, and a variable definition for each choice. See CHCCTL (Choice Control) keyword for display files on the IBM website for details and examples.You might greatly benefit from finding and working through the Application Display Programming PDF, where such techniques are presented.