Question keyboard key
MVS

What is System Management Facility (SMF)

System Management Facility (SMF) is an IBM z/OS mainframe component that collects and records system and job-related information that can be used to: Bill users/customers Analyse system configuration Maintain system security Summarise DASD volume activity Evaluate dataset activity Profile system resource use Schedule jobs Produce reliability reports   SMF formats […]

JCL

How to Allocate a Page Dataset

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

JCL

ADRDSSU – Full Volume Physical Copy

The following JCL code allows you to perform a full volume physical copy using the ADRDSSU utility: //STEP1 EXEC PGM=ADRDSSU,REGION=0M //SYSPRINT DD SYSOUT=* //INVOL1 DD VOL=SER=volser1,UNIT=3390,DISP=SHR //OUTVOL1 DD VOL=SER=volser2,UNIT=3390,DISP=SHR //SYSIN DD * COPY FULL – INDDNAME(INVOL1) – OUTDDNAME(OUTVOL1) – ALLDATA(*) – ALLEXCP – CANCELERROR – COPYVOLID – ADMINISTRATOR – PURGE […]

JCL

Connect a User Catalog to the Master Catalog

The following JCL can be used to connect a User Catalog to the Master Catalog of your z/OS system: //IMPORT   EXEC PGM=IDCAMS //SYSPRINT DD   SYSOUT=* //SYSIN    DD   * IMPORT CONNECT              – OBJ((user_catalog_name      – DEVT(devtype) VOL(volser))) – CATALOG(master_catalog_name) /* Where: user_catalog_name should be replaced by the name of your User Catalog dataset […]