1.

What is the significance of using the "//" symbol in JCL?

Answer»

It is an important symbol used in JCL statements since EVERY JCL statement must begin with it. JCL statements must satisfy this rule in order to EXECUTE properly. Otherwise, the JCL statement will fail. During JCL execution, the system checks for the symbol (//) at the beginning of each statement. This prevents runtime exceptions. 

Example:

//STEP010 EXEC PGM=MYCOBOL,PARAM=CUST1000

Here, 

  • // is the identifier of the JCL statement.
  • STEP010 is the name assigned to the job step.
  • PGM specifies PROGRAM name.
  • PARAM passes INPUT data to the program.


Discussion

No Comment Found