In a JCL, there is a STEP as below:
//STEP010 EXEC PROC1
//STEP040.DELETE02 DD DUMMY
//STEP040.DELETE01 DD DISP=(MOD,DELETE,DELETE),SPACE=(TRK,(1,1)),
// DSN=<Dataset_name1>
//STEP050.DELETE01 DD DISP=(MOD,DELETE,DELETE),SPACE=(TRK,(1,1)),
// DSN=<Dataset_name2>
//*
and STEP040 of PROC1 is like below:
//*********************************************************************
//* STEP040 : DELETE THE DATASET IF THERE IS AN ERROR IN PREVIOUS STEP
//*********************************************************************
//DELIT IF STEP030.RC GT 0 THEN
//STEP040 EXEC PGM=IEFBR14
//DELETE01 DD DSN=<Dataset_name3>,
// DISP=(MOD,DELETE,DELETE),SPACE=(TRK,(1,1))
//DELETE03 DD DSN=<Dataset_name4>,
// DISP=(MOD,DELETE,DELETE),SPACE=(TRK,(1,1))
//DELED ENDIF
//*
Can anybody tell me what is the use of //STEP040.DELETE02 DD DUMMY in JCL as there is no DELETE02 in STEP040 of PROC1??
Override a STEP in JCL that is not in PROC of JCL
Moderators: Frank Yaeger, DikDude, Moderator Group
-
- Member
- Posts: 7
- Joined: Tue Apr 14, 2009 9:01 pm
- Location: Kolkata
Override a STEP in JCL that is not in PROC of JCL
Thanks,
Narinder.
Narinder.
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
-
- Member
- Posts: 9
- Joined: Thu Nov 27, 2008 4:45 pm
JCL
Hi,
For the JCL when we do !JCK, it will show that //STEP040.DELETE02 is not there in STEP040.
Thanks
Narendra
For the JCL when we do !JCK, it will show that //STEP040.DELETE02 is not there in STEP040.
Thanks
Narendra
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Re: JCL
Syntax-check tools will vary shop to shop and not necessary every toll will show up this message.Narendra.nareddy wrote:For the JCL when we do !JCK,
it will show that //STEP040.DELETE02 is not there in STEP040.
Regards,
Anuj
Anuj
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page