I can not see the RFE text to comment but from the description I see
nothing about the order of reading the records in the generation but
only the order of the generations in the concatenation.
IOW: //GDG DD DISP=SHR,DSN=GDGBASE,GDGORDER=FIFO when there are 5
generations yields:
//GDG DD DISP=SHR,DSN=GDGBASE(-4)
// DD DISP=SHR,DSN=GDGBASE(-3)
// DD DISP=SHR,DSN=GDGBASE(-2)
// DD DISP=SHR,DSN=GDGBASE(-1)
// DD DISP=SHR,DSN=GDGBASE(0)
This has the advantage that you do not need to list each relative
generation (as above) and/or need to know the generation count.
At 14:06 -0600 on 01/12/2016, J. P. wrote about Re: RFE to enhance
GDGORDER in JCL:
You are asking IBM to provide a new access method to read the
file(s) backward with your request. And there is no guarantee that
the actual access method invoked by the program(s) involved will be
compatible with your new backwards access method (lets call it LBAM,
shall we?). For example, the program might be written to use BSAM
(or even EXCP) while your new LBAM is only setup to support QSAM.
Your request is not going to end well.
J.P.
Lizette recently posted:
I created my first RFE, so be gentle.
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=81822
Use the GDGORDER parameter for a DD that specifies the base name of
a GDG data set (a GDG-all request). This keyword specifies the order
in which the individual generation data sets (GDSs) will be
concatenated.
This RFE is to request that the GDGORDER on JCL apply not only to
the base but the individual generation numbers as well.
For example. If I code I can get to the oldest entry.
I would also like to see
//GDG DD DISP=SHR,DSN=GDGBASE(0),GDGORDER=FIFO
//GDG DD DISP=SHR,DSN=GDGBASE(-1),GDGORDER=FIFO
and so forth.
This is to allow the reading of GDG Base backwards and forward as
well as get selected entries.
If you think this would be beneficial, please vote.
Thank you
Lizette
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN