The method for modifying SMPALLOC, which allocates SMP/E datasets, is described below.
The following numbers correspond to the numbers appearing on the right side of the sample JCL.
//SMPALLOC JOB (ACCT#),'ALLO SMP FILES', -----(1)
// REGION=0M,CLASS=A, -----(2)
// MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID -----(3)
//*********************************************************************
//*
//* All Rights Reserved.
//* Copyright (C) 2024, Hitachi Vantara, Ltd.
//*
//*********************************************************************
//*
//* This JCL allocates a CSI data set.
//*
//* Instructions:
//* 1) Modify the JOB statement to match your environment.
//* 2) Modify the following values to match your environment:
//*
//* Value Description
//* -------- --------------------------------
// SET PFX=HDSRS Prefix of SMP files -----(4)
// SET VSN=#smp01 DASD volume serial for SMP files -----(5)
//*
//* 3) Submit the JCL.
//*
//*********************************************************************
//STEP01 EXEC PGM=IDCAMS
//CSIVOL DD UNIT=SYSDA,VOL=SER=&VSN,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE HDSRS.SMPCSI.CSI -----(6)
SET MAXCC=0
DEFINE CLUSTER( -
NAME(HDSRS.SMPCSI.CSI) - -----(7)
FREESPACE(10 5) -
KEYS(24 0) -
RECORDSIZE(24 143) -
SHAREOPTIONS(2 3) -
UNIQUE -
VOLUMES(#smp01) - -----(8)
) -
DATA( -
NAME(HDSRS.SMPCSI.CSI.DATA) - -----(9)
CONTROLINTERVALSIZE(4096) -
CYLINDERS(1 1) -
) -
INDEX( -
NAME(HDSRS.SMPCSI.CSI.INDEX)- -----(10)
CYLINDERS(1 1) -
)
/*
//*
//* Initialize a CSI data set. Refer to SMP/E User's Guide.
//*
//STEP02 EXEC PGM=IDCAMS
//SMPCSI DD DISP=OLD,DSN=&PFX..SMPCSI.CSI
//ZPOOL DD DISP=SHR,DSN=SYS1.MACLIB(GIMZPOOL)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO OUTFILE(SMPCSI) -
INFILE(ZPOOL)
/*
//*
//* Allocate data sets for SMP installation of NC
//*
//STEP03 EXEC PGM=IEFBR14
//* Data sets required by SMP
//SMPPTS DD DSN=&PFX..SMPPTS,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,VOL=SER=&VSN,
// SPACE=(CYL,(1,5,10)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920)
//SMPSCDS DD DSN=&PFX..SMPSCDS,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,VOL=SER=&VSN,
// SPACE=(CYL,(1,5,15)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920)
//SMPMTS DD DSN=&PFX..SMPMTS,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,VOL=SER=&VSN,
// SPACE=(CYL,(1,5,5)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920)
//SMPSTS DD DSN=&PFX..SMPSTS,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,VOL=SER=&VSN,
// SPACE=(CYL,(1,5,5)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920)
//SMPLOG DD DSN=&PFX..SMPLOG,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,VOL=SER=&VSN,
// SPACE=(CYL,(1,5)),
// DCB=(RECFM=VB,LRECL=510,BLKSIZE=27998)
//SMPLOGA DD DSN=&PFX..SMPLOGA,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,VOL=SER=&VSN,
// SPACE=(CYL,(1,5)),
// DCB=(RECFM=VB,LRECL=510,BLKSIZE=27998)