JCL Basics What is JCL? Job Entry Subsystem Job Processing JCL Statements JCL Parameters JOB Statement Job Statement Parameters for Job Positional Parameters ACCT NAME Keyword Parameters MSGLEVEL MSGCLASS TYPRUN PRTY CLASS RESTART REGION TIME NOTIFY EXEC Statement EXEC Statement Positional Parameters PGM PROC Keyword Parameters COND PARM ADDRSPC DD statement DD statement DD Parameters SPACE SYSIN VOL DCB SYSOUT DSN UNIT DISP |
SYSIN DD Statement • Used to provide in-stream data to a program • The syntax of the SYSIN DD statement is: //SYSIN DD * in-stream data follows… /* Example: //SYSIN DD * JCLSCHOOL 2007 /* • SYSIN is not a parameter. It is a conventional ddname assigned to input data streams. • An input data stream is data that is entered at the time that job is submitted. • IF DD * is used , then the data is ended once /* or // is encountered. So if we require // as part of data, then use DD DATA parameter. The syntax of the SYSIN DD DATA statement is: //SYSIN DD DATA,DLM=two character delimiter in-stream data follows… two character delimiter Example: //STEP1 EXEC PGM=PROG1 //SYSIN DD DATA,DLM='##' JCLSCHOOL 2007 ## In the above example, ## is the delimiter. The input data stream is highlighted. |