Thread: JCL and JCL Utilities

What is a DD statement? Keep seeing //something DD

Started by Jordan • user3 replies225 viewsLast activity 1 week ago
Post #1
0 votes
Jordan
Reputation
12
Posts: 32
Joined: May 2, 2026, 11:10 AM
Posted: Aug 3, 2026, 10:53 AM

COBOL has SELECT ... ASSIGN TO INFILE. JCL has //INFILE DD DSN=...

Is the DD just how you point the program at a real dataset?

Post #2
0 votes
Jen
Reputation
287
Posts: 34
Joined: Sep 3, 2024, 11:02 AM
Posted: Aug 3, 2026, 12:53 PM

Yes. DD = data definition. The name after // must match what the program expects (ASSIGN TO name, or SORTIN, etc).

DSN= says which dataset. SYSOUT=* means print to the spool. Dummy / DUMMY means no real file.

Post #3
1 votes
Jordan
Reputation
12
Posts: 32
Joined: May 2, 2026, 11:10 AM
Posted: Aug 3, 2026, 4:53 PM

So if ASSIGN TO CUSTIN I need //CUSTIN DD ... Got it.

You must be signed in to reply to this thread