Common MVS System Address Spaces

The following table lists some of the most common MVS system address spaces: Adress Space Description ANTAS000 Concurrent Copy Support ANTMAIN Concurrent Copy support BPXOINIT USS Address Space initiators CATALOG Catalog Address Space – Handles DISP=SHR, DISP=OLD, and DISP=(…,CATLG) CONSOLE Console Task – operator’s interface DLF Data Look aside Facility […]

Command keyboard key

Useful DFSMShsm User Commands

The following table describes the DFSMShsm user commands that can be used for storage administration: Command Description HALTERDS HAL Changes the data set parameters that affect backup. This command only applies to NON-SMS managed datasets. Syntax: HALTERDS (dsname/password…)       FREQUENCY(days) or SYSFREQUENCY       VERSIONS(limit) or SYSVERSIONS Examples: HALTERDS PARTSTST.CNTL VERSIONS(13) FREQUENCY(999) HALTERDS […]


Delete content of a sequential dataset using IDCAMS

The following JCL will delete the content of a sequential dataset without deleting it using the IDCAMS utility: //DELCONT  EXEC PGM=IDCAMS //DDDMMY   DD DUMMY //DDOUT    DD DISP=SHR,DSN=USER1.MYDATA.EXAMPLE //SYSPRINT DD SYSOUT=* //SYSOUT   DD SYSOUT=* //SYSIN    DD * REPRO IFILE(DDDMMY) OFILE(DDOUT)   Replace USER1.MYDATA.EXAMPLE by the sequential dataset you wish to delete […]


Copy content of one Dataset into another using IEBCOPY

The following JCL will allow you to copy the content of one dataset into another via batch job: //COPY EXEC PGM=IEBCOPY //SYSPRINT DD SYSOUT=* //IN  DD DISP=SHR,DSN=USER1.MYDATA.EXAMPLE //OUT DD DISP=SHR,DSN=USER2.MYDATA.FORYOU //SYSIN DD * COPY INDD=IN,OUTDD=OUT Replace USER1.MYDATA.EXAMPLE and USER2.MYDATA.FORYOU by your own dataset names.