Common MVS System Address Spaces

June 22, 2016 Rui Miguel Feio

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 […]

Useful DFSMShsm User Commands

June 15, 2016 Rui Miguel Feio

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

July 31, 2014 Rui Miguel Feio

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

July 31, 2014 Rui Miguel Feio

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.

How to Allocate a Page Dataset

March 14, 2014 Rui Miguel Feio

Here’s a simple way to allocate a new Page Dataset via batch job: //DEFPGSPC EXEC PGM=IDCAMS //SYSPRINT DD   SYSOUT=* //SYSIN    DD   * DEFINE PAGESPACE (  – NAME(page_dataset_name) – CYLINDERS(number_cyls) – VOLUME(volume_name))   Substitute the following values on the above JCL to meet your requirements: page_dataset_name – Name of the Page […]

1 2 3 7