Help for CPD0707

An ENDDO command has no matching DO command.

Remove the ENDDO command or add the missing DO command. Then try the CRTCLPGM command again.