z/OS TSO/E Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Resetting the UADS catalog entry

z/OS TSO/E Customization
SA32-0976-00

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:
    1. Deletes the old UADS (SCRATCH)
    2. Uncatalogs the old UADS (UNCATLG)
    3. Renames the new UADS to the old UADS name (RENAME)
    4. Catalogs the new UADS under the old UADS name (CATLG)
    5. 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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014