IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

// DD DUMMY,DSN=''


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anil Kumar Govindula

New User


Joined: 06 Aug 2008
Posts: 9
Location: India

PostPosted: Wed Jan 21, 2009 10:34 pm
Reply with quote

I'm doing some kind of research on one of my prod JCLs. In my JCL(calls a proc inside it), there is a DSN concatenation, the DSName being the latest generation of a same file say ABC.PQR.XYZ(0), DISP=SHR. When I give PREP it says GDG index not built ONLY for the last two datasets which are dummied out. Is the below DD DUMMY code valid?
FYI...The job runs fine in production.

When I remove DSN='', it doesn't show me the error msg on PREP. I cannot test it, so pls clarify. Thanks in advance.

//<DDname> DD
// DD
// DD
// DD
// DD
// DD
// DD
// DD
// DD DUMMY,DSN=''
// DD DUMMY,DSN=''
//
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 21, 2009 11:08 pm
Reply with quote

Hello,

Quote:
Is the below DD DUMMY code valid?
Yes.
Back to top
View user's profile Send private message
Anil Kumar Govindula

New User


Joined: 06 Aug 2008
Posts: 9
Location: India

PostPosted: Wed Jan 21, 2009 11:15 pm
Reply with quote

Thanks Dick.
hmm.....Just wondering why my PREP is showing that error only for those dummied datasets eventhough the GDG name is the same in the entire concatenation.....Is that something to modify in JCLPREP admin side?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 21, 2009 11:21 pm
Reply with quote

Hello,

It may simply be a warning from PREP reminding that the dsn will not be used. . .

Suggest you submit the job with typrun=scan and see if the system accepts this or throws an error.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DUMMY When do I need add a DCB parameter JCL & VSAM 3
No new posts DD DUMMY & CPU TIME Testing & Performance 16
No new posts Sticky: Difference between DUMMY and NULLFILE JCL & VSAM 0
No new posts insert dummy record(Low values) to PS... DFSORT/ICETOOL 3
No new posts Generating an o/p file with dummy i/p... DFSORT/ICETOOL 2
Search our Forums:

Back to Top