Simple - a very simple, basic COBOL program

Using DSCOBOL as an example.

Using the structure created in “System Administration”, upload or type this COBOL program into DSCOBOL.BASE.COBOL(SIMPLE).

The JCL to run this should be in DSCOBOL.BASE.JCL(SIMPLE) but if not SIMPLE is the Job to upload or type.

Submit the DSCOBOL.BASE.JCL(SIMPLE) job.

Look at the output (=3.8):

  • At the top: Both steps should have a Return Code of 0000 (RC= 0000).
  • At the bottom: the last line should read “THIS IS DSCOBOL ON MVS-TK5” (unless you changed it to something else).