Thread: JCL and JCL Utilities

GDG define - DCB=(MODEL.DCB) pointed at the wrong DD

Started by Jordan • user3 replies138 viewsLast activity 2 weeks ago
Post #1
0 votes
Jordan
Reputation
12
Posts: 32
Joined: May 2, 2026, 11:10 AM
Posted: Jul 28, 2026, 8:15 AM

DEFINE GDG worked. Creating (+1) failed. Model DD was MODEL1 but DCB= referenced MODEL.DCB.

Is referback that picky, or was something else wrong too?

Post #2
0 votes
Jen
Reputation
287
Posts: 34
Joined: Sep 3, 2024, 11:02 AM
Posted: Jul 28, 2026, 10:15 AM

That picky. DCB=*.MODEL1 (or DCB=(MODEL1.DCB) style depending how you coded it) has to name the real DD.

Easier: point DCB= at an existing PS with the LRECL/RECFM you want. And delete leftover GDG base/gens before redefining or you fight duplicate catalog noise.

Post #3
1 votes
Jordan
Reputation
12
Posts: 32
Joined: May 2, 2026, 11:10 AM
Posted: Jul 28, 2026, 3:15 PM

Fixed the referback. (+1) cataloged. Thanks.

You must be signed in to reply to this thread