The point here is, no need to include the word STEP in the stepname. STEP01 –> This is the STEP Name which can be any name like CUST01, RPT01 etc.JOB –> It is a Keyword parameter and is must to specify.CUSTJB01 –> This is the JOB name, It can be be any name but should be limited to 8 char length.DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(1,1),RLSE),įirst two line of the JOB are called JOB card and more information on the job card can be found at JCL JOB Card CUSTOUT DD DSN=CUST.FL.EXT.RPT01,UNIT=SYSDA, CUSTIN DD DSN=CUST.FL.EXT.IN01,DISP=SHR ![]() STEPLIB DD DSN=CUST.PR.LOADLIB,DISP=SHR As it uses two files, these files should also be be specified in the RUn JCL. CUSTR001 is developed to have one input file and it generates one output file using the input file records. Below example shows a sample Run JCL for a program named ‘CUSTR001’. So JOB written in JCL is must to execute any batch COBOL program, The job used to run it is called a RUN JCL. ![]() As we know JCL is a JOb Control Language which is used to run and control the execution of the programs. ![]() Sample RUN JCL for a COBOL Program – In Mainframes area any batch COBOL program needs to have its corresponding JCL to run it without which it can not be executed.
0 Comments
Leave a Reply. |