Unable to delete current versions of a CA Librarian module.
search cancel

Unable to delete current versions of a CA Librarian module.

book

Article ID: 6190

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

Unable to delete current versions of a CA Librarian module.

Environment

Librarian V4.4

Resolution

How to delete the most current archive levels.

Example archive list and JCL below:

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 

00003 080222062953 COB VOUCHER DESCRIPTION VALIDATION 00402 

00002 060922094209 COB VOUCHER DESCRIPTION VALIDATION 00367 

00001 060421115541 COB VOUCHER DESCRIPTION VALIDATION 00365 

00000 060331091520 COB VOUCHER DESCRIPTION VALIDATION 00354 

 

//LIBRSTP1 EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'

//STEPLIB  DD  DISP=SHR,DSN=LIBSYS.LIBR.V44.LVL1.CALJLINK

//INDEX    DD SYSOUT=*

//SYSPRINT DD SYSOUT=*

//SYSPUNCH DD SYSOUT=*

//MASTER   DD  DISP=SHR,DSN=uprfx.uqual.MAST

//OSJOB    DD  DUMMY

//SYSIN    DD  *

-SEL ACSIN,ARC=-4

-HST RECOVER PREVIOUS VERSION OF ACSIN

-END

/*

//

 

The ARC=-4 will delete the following archive levels for member ACSIN:

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 

It will delete 13, 12, 11 and 10.  Note, it will make an identical copy of 0009 and create a new version 0010. 

Additional Information

Please refer to CA Librarian User Guide, Chapter 2: CA Librarian Recipes Using the Facilities.

And the CA Librarian Systems Services Guide,  Chapter 5: CA Librarian Utility.