The DIVIDE statement divides one or more numeric data items by another.
It stores the quotient and remainder.
Format 5 -
DIVIDE srcnum BY srcnum GIVING rsult [ ROUNDED ] REMAINDER remaind
[ ON SIZE ERROR stment ] [ NOT ON SIZE ERROR stment ]
[ END-DIVIDE ]
Additional Information:
explode
extract