GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 98 of 128    Print  
Job have 3 steps in
1) Step01 creating New GDG file(+),
2) Step02 Delete file(+),
3) Step03 create new GDG file with same file name
What is the version for that file?

  
Total Answers and Comments: 3 Last Update: March 04, 2009     Asked by: ddbabu 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: smile_hsm
 

New GDG file with same file name version will be gdg(+2).
Reason:

As the creation step is included in the same job so the version for the file that is deleted will be gdg(+1) and new file created will be gdg(+2).
once the job execution is completed the generation for the new file created will become gdg(0)



Above answer was rated as good by the following members:
nvjanarthanan
October 09, 2007 06:00:08   #1  
neeraja        

RE: Job have 3 steps in 1) Step01 creating New...


While creating we will give (+1) for step 1.

Deleting the same file in step 2 using (+1)

Creating another GDG(+2) because same file name.

After the execution of the job step 1 is current generation we can refer with GDG(-1)

which get deleted in the step 2. So the version of that file is current generation GDG(0).


 
Is this answer useful? Yes | No
August 27, 2008 05:43:15   #2  
smile_hsm Member Since: August 2008   Contribution: 1    

RE: Job have 3 steps in 1) Step01 creating New GDG file(+), 2) Step02 Delete file(+), 3) Step03 create new GDG file with same file name What is the version for that file?

New GDG file with same file name version will be gdg(+2).
Reason:

As the creation step is included in the same job so the version for the file that is deleted will be gdg(+1) and new file created will be gdg(+2).
once the job execution is completed the generation for the new file created will become gdg(0)


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 04, 2009 05:25:21   #3  
norieljay Member Since: March 2009   Contribution: 1    

RE: Job have 3 steps in 1) Step01 creating New GDG file(+), 2) Step02 Delete file(+), 3) Step03 create new GDG file with same file name What is the version for that file?
Answers :

1) Step01 creating New GDG file(+) - +1 version

2) Step02 Delete file(+) - +2 version

3) Step03 create new GDG file with same file name - +3 version

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape