I realize this is an extremely basic question, but I haven't been able to find anything by searching.
I am trying to learn JCL, including looking at some examples I have found. The following statement is describing an input file being used by the job (the input file is a sequential backup of a VSAM file):
//SORTIN DD DSN=PRDCC.TEST.SAVE2.BOOKNOTE.D.AFT(0),
Can someone please tell me what the zero in parentheses after the data set name signifies? Thank you.
<Dataset name> followed by (0)?
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: <Dataset name> followed by (0)?
The data set is a generation data group and the (0) represents the current (most recently created) generation. Look up GDG in the JCL Reference manual to learn more.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 2744
-
by willy jensen
View the latest post
Sat Mar 04, 2023 12:41 pm
-
- 3
- 2692
-
by sergeyken
View the latest post
Sat Nov 16, 2024 11:05 pm
-
- 12
- 3895
-
by RalphEagle
View the latest post
Fri Jul 30, 2021 1:00 pm
-
-
SMTPNOTE - can a font be specified for a dataset?
by Proddish2348 » Sat Jul 01, 2023 5:31 am » in Operating Systems - 0
- 4238
-
by Proddish2348
View the latest post
Sat Jul 01, 2023 5:31 am
-
-
- 1
- 1258
-
by sergeyken
View the latest post
Wed Feb 07, 2024 11:48 pm