Purpose of using DD dummy!!!

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
pmpsp
Member
Posts: 18
Joined: Mon Jul 06, 2009 11:38 am
Location: noida

Purpose of using DD dummy!!!

Post by pmpsp » Sat Feb 27, 2010 5:10 pm

Hi,

Could anyone please let me know why we use 'dd dummy' in JCl.
What is the purpose for writing that?

Thanks in advance!!

Regards,
Pankaj.
_________________
With regards,
Pankaj Thakur.
With regards,
Pankaj Thakur.

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Sat Feb 27, 2010 7:18 pm

DD DUMMY means the same thing as specifying DD DSN=NULLFILE.

Perhaps if YOU told us why you think you need to code DD DUMMY in your circumstances, perhaps we could provide a better answer.

pmpsp
Member
Posts: 18
Joined: Mon Jul 06, 2009 11:38 am
Location: noida

Post by pmpsp » Sat Feb 27, 2010 8:20 pm

Hi mate,

Actually I am the beginner in Mainframes.And wamted to know if I coded DD Dummy in the JCl of a programe then what will happen if the job runs successfully.

Could you please help me in this regards!!

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Mar 05, 2010 2:30 pm

To answer your question, JCL will executre the program you asked it to execute. If program look for the DD statement using DUMMY, it'll treat it as if there is a null file. It (end results) also depends on if you're executing a COBOL program or a utility...but it's essentially a null-file.

By the way, did you check the link provided by MrSpock?
Regards,
Anuj

pmpsp
Member
Posts: 18
Joined: Mon Jul 06, 2009 11:38 am
Location: noida

Post by pmpsp » Tue Mar 09, 2010 6:00 pm

Hi,
I checke dthe link.Also i checked the things practically.
Working all fine as said above.Thx both of you.
With regards,
Pankaj Thakur.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Mar 10, 2010 1:19 pm

Glad to hear that!
Regards,
Anuj

pmpsp
Member
Posts: 18
Joined: Mon Jul 06, 2009 11:38 am
Location: noida

Post by pmpsp » Wed Mar 17, 2010 12:14 pm

Hi,
Could anyone please let me know the basic difference between triggerring and successor jobs.

Regards,
With regards,
Pankaj Thakur.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Mar 17, 2010 2:04 pm

Please start a new thread for new questions...
Regards,
Anuj

Post Reply

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



Other References
Mainframe Tools and others