CA TPX Session Management for z/OS

Expand all | Collapse all

Librarian Delete selected archives

Jump to Best Answer
  • 1.  Librarian Delete selected archives

    Posted 03-03-2017 08:19 AM

    A user wants to delete specific archive versions that are in the middle of a range.  For example

     

    00013 170301150851 COB VOUCHER DESCRIPTION VALIDATION 00683
    00012 170228151832 COB VOUCHER DESCRIPTION VALIDATION 00682
    00011 170223131725 COB VOUCHER DESCRIPTION VALIDATION 00675
    00010 141103130116 COB VOUCHER DESCRIPTION VALIDATION 00672
    00009 120413094436 COB VOUCHER DESCRIPTION VALIDATION 00658
    00008 110930082548 COB VOUCHER DESCRIPTION VALIDATION 00657
    00007 091030130520 COB VOUCHER DESCRIPTION VALIDATION 00653
    00006 091026113446 COB VOUCHER DESCRIPTION VALIDATION 00646
    00005 091023072250 COB VOUCHER DESCRIPTION VALIDATION 00625
    00004 090515075810 COB VOUCHER DESCRIPTION VALIDATION 00435

     

    She would like to delete the ones in bold.  Is that possible?  Thanks for any insights.



  • 2.  Re: Librarian Delete selected archives
    Best Answer

    Posted 03-06-2017 09:14 PM

    Hi Harman,

    In Elips to delete archive versions prior to that date and time online, enter an "I" before the member on the member selection list panel. This will display the Current Member Information panel and then enter the date and times in the field labeled ARCLR DATE and press enter. All archive versions prior to that date and time will be deleted.

    If the user tries to delete the archive level  141103130116  the user would need to enter the date 170223131725,  but then it will delete all archive levels prior to that date of 170223131725.    

    In other words it would delete all of them listed below:

    00010 141103130116 COB VOUCHER DESCRIPTION VALIDATION 00672
    00009 120413094436 COB VOUCHER DESCRIPTION VALIDATION 00658
    00008 110930082548 COB VOUCHER DESCRIPTION VALIDATION 00657
    00007 091030130520 COB VOUCHER DESCRIPTION VALIDATION 00653
    00006 091026113446 COB VOUCHER DESCRIPTION VALIDATION 00646
    00005 091023072250 COB VOUCHER DESCRIPTION VALIDATION 00625
    00004 090515075810 COB VOUCHER DESCRIPTION VALIDATION 00435

    The work around would be to update the member with the archive levels prior to 141103130116. 

    Then the user could delete

    00012 170228151832 COB VOUCHER DESCRIPTION VALIDATION 00682
    00011 170223131725 COB VOUCHER DESCRIPTION VALIDATION 00675
    00010 141103130116 COB VOUCHER DESCRIPTION VALIDATION 00672

     

    I think it would be best to open an issue.

     



  • 3.  Re: Librarian Delete selected archives

    Posted 03-07-2017 09:29 AM

    Thanks Elayne, that confirms my suspicion that the user can't remove a subset without removing all archives prior as well.



  • 4.  Re: Librarian Delete selected archives

    Posted 03-07-2017 12:32 PM

    Hi Steve,

      There is a second option.  Librarian will let you delete the current version of a member.  Your user could save a copy of level 013 and then delete off levels 13, 12, 11, 10.  Once they have removed the versions in error, add the saved copy of level 13 back.

     

    See "Recovering from a Bad Update"  in Chapter 2: CA Librarian Recipes Using the Facilities   in the CA Librarian User Guide.

     

    June



  • 5.  Re: Librarian Delete selected archives

    Posted 03-15-2017 09:16 AM

    Thanks June, that's what we ended up using in order to preserve previous archives.  Perfect!