EXITS provided with z/OS by IBM

January 10, 2017 Rui Miguel Feio

What exactly is an EXIT in z/OS? An EXIT is nothing more than a subroutine invoked by a program that can be customised to implement a predefined event in the execution of that same program. Confused? In that case imagine an EXIT as a way to customise the execution of […]

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.

1 2 3 7