Multiple choice technology mainframe

In Step1 gdgname(+1) has been created and step1 executed successfully. In Step 2 if same data set need to be used. How to refer it?

  1. Gdgname(0)

  2. Gdgname(+1)

  3. Gdgname(-1)

  4. Gdgname(+2)

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When a GDG version is created with (+1) in a step, that version becomes the current generation (0) for subsequent steps. To reference the newly created version in Step 2, you use gdgname(+1) again - this resolves to the version just created in Step 1. Using (0) would reference the previous generation before Step 1 executed.