Hi all,

 

  First time poster (to this list anyway) here.

 

  I have a question that perhaps someone out there has already encountered
and addressed.  What I need to do is process all existing generations of a
GDG each time a given job runs.  The number of generations processed will
vary, and so, of course would the absolute generation numbers.  

  I know that if I simply code the DD statement so that it refers to the GDG
base, I will pick up all the existing generations of that GDG.  The problem
I face is that, when you code a DD statement this way, it processes the GDGs
in reverse chronological order (newest to oldest) but the software that I
need to process these GDGs through requires that they be in order of
creation (oldest to newest).  

  I know I can write a program that'll keep track of which GDG's I've
processed in some sort of control file and/or dynamically create the JCL
each time that way, but I'm wondering (hoping) for a more transparent (and
easier to maintain and/or pass on) solution.  

 

  Any ideas?  Thanks in advance.

 

        Mary Groebner, 

        WA State Dept of Social and Health Services, 

        Olympia WA

 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to