One possible reason that the listcat doesnt show the GDS's as part of the
GDG is that they were not created using +1 and so may need to have an
IDCAMS   (Alter xxxxxx  ROLLIN) done against all 3 GDS's

John Clifford


On Wed, May 21, 2014 at 12:10 PM, CM Poncelet <[email protected]> wrote:

> The "(+1)" would imply a new GDG entry. Existing ones would be "(0)",
> "(-1)" etc., but I doubt that IDCAMS would recognize relative GDG entries
> coded as "(0)","(-1)" anyway. Just my ha'pennyworth.
>
>
> Dana Mitchell wrote:
>
>  We have an application that generates log tapes  (virtual) with a date
>> and time stamp in the DSN.  In order to process them easily in a DR or test
>> situation,  it would be nice to have some of them in a GDG.  We are not
>> z/OS 2.1 yet,  so even if they are created as a GDG,  they would read in
>> LIFO order,  not what's needed.     Since they are tape, they cannot be
>> renamed, so I thought defining alias entries to point to each would work.
>>  But define alias didn't work with (+1) in the name but definging them with
>> absolute generation numbers did work:
>>  DEFINE ALIAS(NAME(xxxx.APPLY.LOGS.G0001V00) -
>> RELATE(xxxx.LOG.D14140.T134117.L0045718.TAPE))
>>  DEFINE ALIAS(NAME(xxxx.APPLY.LOGS.G0002V00) -
>> RELATE(xxxx.LOG.D14140.T133348.L0045717.TAPE))
>>  DEFINE ALIAS(NAME(xxxx.APPLY.LOGS.G0003V00) -
>> RELATE(xxxx.LOG.D14140.T132555.L0045716.TAPE))
>>
>> The define alias statements end with CC0.   I can reference a generation
>> via the G0001V00 name,  but not via relative generation or all generations
>> via the base name.
>> - Enter "/" to select action  ------------------------------
>> xxxx.APPLY.LOGS             xxxx.APPLY.LOGS.G0001V00
>> xxxx.APPLY.LOGS.G0002V00    xxxx.APPLY.LOGS.G0003V00
>>
>> Listcat shows the GDSs are not associated with the GDG:
>>
>>
>> GDG BASE ------ xxxx.APPLY.LOGS                                   IN-CAT
>> --- CATALOG.MVSD                                  HISTORY
>>                                       DATASET-OWNER-----(NULL)
>> CREATION--------2014.140         RELEASE----------------2     LAST
>> ALTER------0000.000       ATTRIBUTES
>>                LIMIT-----------------24     SCRATCH          NOEMPTY
>> ASSOCIATIONS--------(NULL)
>> Can Alias names be GDS's?  Is there some other way to accomplish this?
>> thanks
>> Dana
>>
>> ----------------------------------------------------------------------
>> 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
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to