Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

GDG Generation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
hamsalakshmi

New User


Joined: 30 Aug 2010
Posts: 3
Location: India

PostPosted: Mon Sep 20, 2010 1:43 pm    Post subject: GDG Generation
Reply with quote

Hi,

Can any one answer me for the below scenario.

I have 3 steps in my JCL. Output of the First and second steps are GDG's two versions. Using those two version 3rd step creates GDG's 3rd version.
While executing the JCL, getting abend in the 3rd step.

1. Whether the GDG's frist two versions would be created?
2. When restart with step3, will it be executed?
Back to top
View user's profile Send private message

smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Mon Sep 20, 2010 2:22 pm    Post subject:
Reply with quote

Quote:
Whether the GDG's frist two versions would be created?


depends on the DISP parameter you code .

Quote:
When restart with step3, will it be executed?


Possible if you use RMS in your shop or something similar.
(Since i have worked only on RMS donno abt the rest)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Sep 20, 2010 2:26 pm    Post subject:
Reply with quote

First of all, let us clear up one thing. The correct term is GENERATION.

As you have not bothered to post either the JCL that you have used or the output from thhe run, the answer is

I have absolutely no idea of the results from this scenario.
Back to top
View user's profile Send private message
nareshkp

New User


Joined: 26 Sep 2007
Posts: 28
Location: Bangalore

PostPosted: Mon Sep 20, 2010 2:38 pm    Post subject: Reply to: GDG Generation
Reply with quote

Why do you want to create three generations in one job? You will get problems during the restarts with this approach. Instead, you can use temporary datasets in the first two steps and GENERATION in the final step...
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Sep 20, 2010 2:54 pm    Post subject: Reply to: GDG Generation
Reply with quote

Quote:
While executing the JCL, getting abend in the 3rd step.


why do You think that the abend is related to the GDG processing

good luck anyway, you just told tha something did not work,
if You want any help You will have to tell more

post the jl being used and the output of the run ( just the jcl part )
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Sep 20, 2010 3:32 pm    Post subject: Re: GDG Generation
Reply with quote

hamsalakshmi wrote:
I have 3 steps in my JCL. Output of the First and second steps are GDG's two versions. Using those two version 3rd step creates GDG's 3rd version.
While executing the JCL, getting abend in the 3rd step.

1. Whether the GDG's frist two versions would be created?
2. When restart with step3, will it be executed?
You seem to miss many details in your question, along with not using the correct terms as expat has already mentioned about.

1. They should be. When you tried it, what happened?
2. For second question, we'd need to know, what you 've coded there - absolute generations or relative? (and if something happens to GDGs in some other job too!)
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Sep 20, 2010 7:48 pm    Post subject:
Reply with quote

Hello,

Suggest this process be changed to create a new generaton at the end of the run. Creating multiple generratons in a process causes more problems that it "cures".

Many organizations will not permit such a process to be promoted to production. . .

fwiw
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts alphanumeric sequence generation sivaprasad.gadhi COBOL Programming 6 Wed Mar 30, 2016 3:03 am
No new posts alphanumeric sequence generation sivaprasad.gadhi DFSORT/ICETOOL 8 Mon Mar 21, 2016 1:09 am
No new posts Report generation senthamizh DFSORT/ICETOOL 1 Sat Jun 20, 2015 2:01 pm
No new posts Reading 0th Generation of GDG in REX S0C7 CLIST & REXX 8 Sat May 31, 2014 3:29 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us