🎴 Flashcard Mode
Mainframe Programming: Synon, CICS, COBOL, and JCL
Card1 / 20
Mastered0
Review0
QuestionClick to flip
Suppose 3 generations of a GDG exist. How would you reference the 1 st generation in the JCL?
AnswerClick to flip back
A
Use GDG name(-2)
💡 Explanation:
GDG (Generation Data Group) generations are referenced as: (0) = current/new generation, (-1) = most recent previous generation, (-2) = second most recent, etc. With 3 generations existing, they are (0), (-1), and (-2). The 1st generation (oldest) is (-2), 2nd is (-1), 3rd/most recent is (0). Option B is correct. Option A would reference a 4th generation that doesn't exist. Option C is the 2nd generation. Option D is the current/newest.