Previous Topic: SDT Command—Set the Date FormatNext Topic: UPV Command—Update Volume Information


UPD Command—Update Volume Information

Use the UPD command to update volume data in the Volume Master File.

This command has the following format:

UPD volser keyword=value [,keyword=value]...
volser

Specifies the volume serial number.

keyword=value

Each value in the Volume Master File has a keyword associated with it. To change the value, code the keyword followed by an equal sign and the new value.

Note: For information on keywords and their values, see the section VMF Keywords.

Usage Notes

You can code multiple keywords on the same command, ending before position 72. Separate keywords with a comma or a space after the value.

To delete a value, code the keyword followed by a comma or a space; for example CJOB=, or CJOB= .

To change dates, specify the date in either Julian or preferred date format. For EXPDT, use TLMS keywords. If the preferred date format contains blanks or commas, enclose it in single quotes or parentheses.

When you issue this command, you get a printout of the new dataset information, which you can verify.

If you are updating values for a data set that is contained on multiple volumes, you must specify the UPD command for each volume that contains the dataset.

If there is more than one dataset on the volume, use the FILESEQ keyword to give the relative file number of the dataset.

Example: JCL for the UPD Command

//TLMSINQR  JOB
//TLMSINQR  EXEC CATINQR
//CAIIPT    DD   *
UPD 001511 BLKSIZE=4800
//

This example changes the block size for the dataset on volume 001511 to 4800.

This JCL produces this display:

VSN=001511    VOLSEQ=001  VOLCNT=001             OWNER=                SERVICE=IN  SCRATCH=YES CDS=00000 FILECNT=00001                    *                                                                    DSNAME=SVTS.TGRP51.P0106.DAT22                          VER=           USER=121400000      FERRO15                                          BLKSIZE=004800     LRECL=00080   RECFM=FB      MGMTCLAS=             BLKCNT =000000003  FILESEQ=00001 CPU=XE90      BESKEY=00000          KEEPDT =09/25/2008 EXPDT=09/18/2008            BASEVOL=001511        CDATE  =09/18/2008 CUNIT=078A    CJOB=GENDAT20 CSTEP=STEP02          CTIME  =15.45.26   ABEND=        CPGM=IEBDG    CDDN=OUTPUT           LDATE  =09/18/2008 LUNIT= 078B   LJOB=GENDAT20 PERCENT 001 00