After the UADS has been reformatted, you must reset the UADS catalog
entry. Use one of the following methods:
- To reset the UADS catalog entry using ISPF/PDF, enter option 3.2
and delete the old UADS, then rename the new UADS to the name of the
old UADS.
- To reset the UADS catalog entry using TSO/E commands, use the
DELETE command to delete the old UADS, then use the RENAME command.
- To reset the UADS catalog entry using access method services,
use the IDCAMS utility. For information on how to use IDCAMS, see .
- To reset the UADS catalog entry using a batch job, execute IEHPROGM
as shown in Figure 1. The batch job:
- Deletes the old UADS (SCRATCH)
- Uncatalogs the old UADS (UNCATLG)
- Renames the new UADS to the old UADS name (RENAME)
- Catalogs the new UADS under the old UADS name (CATLG)
- Uncatalogs the old UADS name (UNCATLG).
Figure 1. Resetting
the UADS catalog entry with a batch job//jobname JOB job card parameters
// EXEC PGM=IEHPROGM
//SYSPRINT DD SYSOUT=A
//DD1 DD UNIT=device,VOL=SER=volser,DISP=OLD
//DD2 DD UNIT=device,VOL=SER=volser,DISP=SHR
//SYSIN DD *
SCRATCH DSNAME=old.UADS.name,VOL=device=volser
UNCATLG DSNAME=old.UADS.name
RENAME DSNAME=new.UADS.name,old.UADS.name,
VOL=device=volser
CATLG DSNAME=old.UADS.name,VOL=device=volser
UNCATLG DSNAME=new.UADS.name
/*
After you reset the UADS catalog entry by deleting the old UADS,
renaming the new UADS to the name of the old UADS, you must IPL
your system.