I cannot set any initial values to those fields.They should be blank.And I tried to define both fields as inputs.
Blank is a valid initial value. If you want to be able to type into it, it has to be an input field.
But whatever value I am chaging thru REXX program ,it is not reflecting in the panel.
There is a problem with line 17 of your rexx program.**
I guess they should be defined as output to reflect the calculated values
Output fields can only display information. But input fields can have initial values (output) and allow the user to type into.
** Show us your rexx and your panel. We are not mind readers.