Can the old security files and VSAM files be renamed using IDCAMS?
search cancel

Can the old security files and VSAM files be renamed using IDCAMS?

book

Article ID: 14556

calendar_today

Updated On:

Products

Top Secret Top Secret - LDAP

Issue/Introduction



Can the old security file and VSAM file be renamed using IDCAMS?

Environment

Release: TOPSEC00200-15-Top Secret-Security
Component:

Resolution

Yes you can use IDCAMS to rename the files. 

Below is an example for each file: 

//STEP1 EXEC PGM=IDCAMS 
//SYSPRINT DD SYSOUT=* 
//SYSIN DD * 
ALTER TSS.SYST.SECURITY.FILE.VSAM - 
NEWNAME(TSS.OLDZ.SECURITY.FILE.VSAM) 

//STEP1 EXEC PGM=IDCAMS 
//SYSPRINT DD SYSOUT=* 
//SYSIN DD * 
ALTER TSS.SYST.SECURITY.FILE - 
NEWNAME(TSS.OLDZ.SECURITY.FILE)