| Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
|||||
JCL is characterized by a pair of slashes "//" that start each statement. The slashes date back from when punched cards were used to submit JCL code for execution. If the cards were mistakenly put back to front in the reader the slashes wouldn't be read first (instead, the sequence numbers would be), so the card deck could be rejected.
The basic syntax of JCL for z/OS hasn't changed since the 1960's, it is the same as JCL for OS/360. The following is an example of a JCL code stub for executing a job:
//BATCHJOB JOB ('12345'),MSGCLASS=H,MSGLEVEL=(1,1),NOTIFY=ME, // USER=ME,REGION=400K //STEP1 EXEC PGM=HELLO //STEPLIB DD DISP=SHR,DSN=MY.LOAD.LIBRARY //SYSPRINT DD SYSOUT=* DOS/VSE also has a JCL language. Its syntax is entirely different, the only similarity being that statements still start with two slashes: "//".See also: IEFBR14