ramesh4mainframes wrote:I have 3 steps, in that step2 has abend. Then what is the version of Step 2?
The interviewer not mentioned whether it is in GDG or not.
As others have stated, the question has no meaning. The mostly likely interpretation of "step" is a step in JCL. A step has no version. Another person suggested something about a GDG data set, possibly in this context:
//ASTEP EXEC PGM=ABADPGM
//AGDG DD DISP=(NEW,CATLG),---,DSN=AGDG(+1)
This JCL will catalog the generation data set as AGDG.GggggV00. The "00" is the "version" of generation gggg. The value assigned to gggg depends on other data sets in the generation data group. Notice that I did not specify Vvv. This is because a new generation is always "version" 00. It might be that is the answer that was wanted.