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?
COBOL has SELECT ... ASSIGN TO INFILE. JCL has //INFILE DD DSN=...
Is the DD just how you point the program at a real dataset?
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.
So if ASSIGN TO CUSTIN I need //CUSTIN DD ... Got it.
You must be signed in to reply to this thread