05 st-details pic 9(8) //student no,class
05 st-address pic x(10) //student address, zip-code
05 st-details pic 9(8).
*student no,class (comment)
05 st-address pic x(10).
The more you work with things, the more comfortable you will become.i am not that much comfortable to achieve this in rexx.