fork download
  1. identification division.
  2. program-id. add.
  3. environment division.
  4. data division.
  5. working-storage section.
  6. 77 a pic 9(2)value 9.
  7. 77 b pic 9(2) value 9.
  8. 77 c pic 9(3).
  9. procedure division.
  10. para1.
  11. compute c = a + b.
  12. display "the sum is" c
  13. stop run.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cbl:     6: error: syntax error, on or before '9'
stdout
Standard output is empty